Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am able to make an ADO connection to files of type "*.xls"
using the following connection string: szConnect = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\MyData\data2.xls;Extended Properties=""Excel 8.0;HDR=NO;IMEX=1""" However, the above connection string does NOT work if my Excel file is of type "*.xlsx". In fact, if I try to connect to an "xlsx" file using the above string, I get an error message that says "External table is not in the expected format"! What am I doing wrong? Do I need to modify the connection string to be able to read *.xlsx fileS? Thank you! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I convert .xlsx to .xls Excel files? | Excel Discussion (Misc queries) | |||
How can I batch convert 97-2003 .xls files to 2007 .xlsx files | Excel Discussion (Misc queries) | |||
Excel 2007 on Windows XP computer will not open .xlsx files. | Excel Discussion (Misc queries) | |||
Opening .xlsx files in separate instances of Excel 2007 | Excel Discussion (Misc queries) | |||
Excel 2007 xlsx files open as Read-Only in Excel 2003 after Compat | Excel Discussion (Misc queries) |