Question : Can't get the Excel ado connection to work with .xls version 2.1

Using the connection below, i can open up an excel file that has been saved as every version of excel from the save as drop down menu except for  the "Microsoft Excel 2.1 Worksheet (*.xls)" version. I know, it's an old version but I need the applicatioin to load this type because it is what the client uses and my boss says we don't want the client to do anything, but take the exported file and run it with our app. Anyone know why I can't get only this version to work? We are using this to open the excel file as a database to get the rows as a recordset...

we have used multiple connection strings to try as well...
Code Snippet:
1:
2:
3:
4:
'cnexcel.Open "DRIVER={Microsoft Excel Driver (*.xls)}; IMEX=1; HDR=NO; Excel 2.1;DBQ=" & filepath & "; "
cnExcel.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & filepath & "; Extended Properties=""Excel 8.0;"""
strSQLEx = "Select * From [" & sheetName & "$]"
RSExcel.Open strSqlEx,cnExcel

Answer : Can't get the Excel ado connection to work with .xls version 2.1

Is it possible for you to handle the code (invisible to the client) to save a copy of the sheet in latest version in the users temp directory and process it?. Please dont mistake. this is just a thought.
Random Solutions  
 
programming4us programming4us