Hi Guys,
Im trying to extract rows from excel using Oledb. For some excel files from certain people is throwing error while trying to open the connection. The error says "External table is not in the expected format."
Here is my connection string
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\test.xls;Extended Properties="Excel 8.0;HDR=NO;IMEX=1"
One important thing which I noted is, everything works fine if I kept the file open. Since the files are received from third party vendors, so there is no option to do a 'Save As'.
Thanks in advance! Manoj