G
Guest
Hello, I'm using Access 2002
I use the following code to import data from Excel into an Access DB table. Could someone please tell me if this SQL string can be edited to instead do the same thing with a text file, and if so, edit the string for me
"SELECT [SheetName$].* INTO [DestinationTable] FROM [SheetName$] IN 'FullExcelName'[EXCEL 5.0;];
Also, I'm assuming the "Excel 5.0" portion of the above string indicates version 5 of Excel? What would be other acceptable arguments for this? I have tried some, but they don't seem to work
Thanks so much in advance
I use the following code to import data from Excel into an Access DB table. Could someone please tell me if this SQL string can be edited to instead do the same thing with a text file, and if so, edit the string for me
"SELECT [SheetName$].* INTO [DestinationTable] FROM [SheetName$] IN 'FullExcelName'[EXCEL 5.0;];
Also, I'm assuming the "Excel 5.0" portion of the above string indicates version 5 of Excel? What would be other acceptable arguments for this? I have tried some, but they don't seem to work
Thanks so much in advance