C
Chris N
Hi Everybody,
I'm trying to open an Excel 2007 .xlsx file on a machine that has Office
2003 (SP3) installed along with the Office 2007 Compatibility pack.
If I try the Excel 12 style ADO connection string below, it just errors
indicating that the provider can't be found - which is fair enough.
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Test.xlsx;Extended
Properties=Excel 12.0"
If I equally try the Excel 8 style ADO connection string below, it throw a
different error indicating that the "External table is not in the expected
format."
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Test.xlsx;Extended
Properties=Excel 8.0"
Does anyone know if there is an alternative connection string or any
additional parameters I need to allow this to be opened.
(BTw: The Excel 12 ADO connection string works fine when Office 2007 is
installed)
Thanks in advance,
Chris
I'm trying to open an Excel 2007 .xlsx file on a machine that has Office
2003 (SP3) installed along with the Office 2007 Compatibility pack.
If I try the Excel 12 style ADO connection string below, it just errors
indicating that the provider can't be found - which is fair enough.
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Test.xlsx;Extended
Properties=Excel 12.0"
If I equally try the Excel 8 style ADO connection string below, it throw a
different error indicating that the "External table is not in the expected
format."
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Test.xlsx;Extended
Properties=Excel 8.0"
Does anyone know if there is an alternative connection string or any
additional parameters I need to allow this to be opened.
(BTw: The Excel 12 ADO connection string works fine when Office 2007 is
installed)
Thanks in advance,
Chris