Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2014, 09:45 AM
NobodysPerfect NobodysPerfect is offline DAO for Excel 2010 import Windows 7 64bit DAO for Excel 2010 import Office 2010 32bit
Competent Performer
DAO for Excel 2010 import
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default DAO for Excel 2010 import

Hi,



For data exchange from Excel 2003 files to Word (no matter which Word version) the following code works fine.
Code:
Set  db = OpenDatabase("C:\Test\Book1.xls",      False, False, "Excel 8.0")
I often used (and still use) it. Source: http://word.mvps.org/faqs/interdev/xltowordwithdao.htm

But I completely fail when trying to use it with Excel 2010.
Code:
Set  db = OpenDatabase("C:\Test\Book1.xlsx",      False, False, "Excel 14.0")
With Excel 14 this connection fails with an Installable ISAM errror. Same if I try "Excel 12.0".

Conrol Panel > ODBC driver information says "MS Excel Driver (xls, xlsx, ...)" is installed.


An idea what's going wrong here? I'd really like to continue importing data this way ...

Thx
NP
Reply With Quote
  #2  
Old 02-28-2014, 12:13 AM
macropod's Avatar
macropod macropod is offline DAO for Excel 2010 import Windows 7 32bit DAO for Excel 2010 import Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See: http://support.microsoft.com/kb/209805
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-28-2014, 02:05 AM
NobodysPerfect NobodysPerfect is offline DAO for Excel 2010 import Windows 7 64bit DAO for Excel 2010 import Office 2010 32bit
Competent Performer
DAO for Excel 2010 import
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi,

that's one of the first articels I read. I re-registered the "Regsvr32.exe" file, successfully. But no change at all - works fine for Excel 8 but same ISAM error with Excel 12 or 14.

Yesterday I spent googling and reading for hours and it seems to be a quite common problem. But knowing this does not really help solving the problem ..

Any other idea?
NP
Reply With Quote
  #4  
Old 02-28-2014, 11:17 PM
macropod's Avatar
macropod macropod is offline DAO for Excel 2010 import Windows 7 32bit DAO for Excel 2010 import Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Form searching around it looks like the DAO approach isn't supported for the xml format used by Office 2007 & later. Accordingly, you'll need to use one of the newer methods.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-01-2014, 02:12 AM
NobodysPerfect NobodysPerfect is offline DAO for Excel 2010 import Windows 7 64bit DAO for Excel 2010 import Office 2010 32bit
Competent Performer
DAO for Excel 2010 import
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Thanks so much. Maybe a "Works with file versions < 12 only" hint would be usefull on the above mentioned site?

Will use ADO instead - and change my macros using DAO .

Cheers
NP
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Excel spreadsheet calendar data into Outlook 2010 davesp Outlook 0 09-30-2013 09:26 AM
How to Query Text in MS-Excel 2010 or Import Data & Query outside of Excel? mag Excel 0 10-18-2012 11:15 AM
DAO for Excel 2010 import import labels from excel tactical Mail Merge 3 05-29-2012 04:03 PM
Import Pics and Excel Data into PP? jawillyams PowerPoint 0 03-13-2011 01:03 PM
Can't import home adresses in outlook 2010 from excel named ranges eekie Outlook 0 05-14-2010 02:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft