Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default connect to Access 2007

"Tom Ogilvy" wrote:

try using

Provider=Microsoft.Jet.OLEDB.12.0


Also check the name of your access file extension. MDB might be something
like ACDB


This connection string worked for me:

"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myDatabase.accdb;"

Hope this helps.

--
urkec
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I connect to access 2007 data from excel? Marilyn Myers Excel Discussion (Misc queries) 3 December 12th 08 04:15 PM
Excel VAB+ADO connect ACCESS with SQL alexsas Excel Programming 2 August 21st 07 02:24 PM
Connect to MS Access with Password via VBA matelot Excel Programming 2 September 19th 06 03:55 PM
Help with using ADO to connect Excel to Access [email protected] Excel Programming 4 June 29th 06 10:26 AM
ADO Connect Access gti_jobert[_78_] Excel Programming 5 April 4th 06 01:24 PM


All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"