nexus
10 years agoOccasional Contributor
Trouble getting desired excel data
Hi, I need to retrieve a certian row from an excel file but am running into problems. First I tried the COM object but since I do not have excel install on my machine it gave the error of unknown...
- 10 years ago
Thank you joseph_michaud!!! That solved it.
I added ';IMEX=1' which did the trick.
'Qry.ConnectionString = "Provider = Microsoft.ACE.OLEDB.12.0; Data Source = " + path + "; Extended Properties ='Excel 12.0 Xml;HDR=YES;IMEX=1' ";'