Bobby Burns
New member
- Local time
- Today, 11:22
- Joined
- May 2, 2007
- Messages
- 4
Hi there,
I am trying to connect to an Access 2007 database (.accdb ext) from an Excel 2007 workbook (.xlsm ext) using ADO and the following connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabaseName.accdb;"
When I try and connect, I get the error message "Unrecognised database format 'MyDatabaseName.accdb'".
Can anyone advise me on where I am going wrong.
Help much appreciated.
I am trying to connect to an Access 2007 database (.accdb ext) from an Excel 2007 workbook (.xlsm ext) using ADO and the following connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabaseName.accdb;"
When I try and connect, I get the error message "Unrecognised database format 'MyDatabaseName.accdb'".
Can anyone advise me on where I am going wrong.
Help much appreciated.