aziz rasul
Active member
- Local time
- Today, 21:47
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have the following code which is supposed to import the second worksheet in an xls file. However it doesn't work because it tries to import the first worksheet in the same xls file into the table designed for the second worksheet.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Training Cost Summary Actual", Me!Filename, True,""
How do I amend the code so that it reflects the second worksheet?
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "Training Cost Summary Actual", Me!Filename, True,""
How do I amend the code so that it reflects the second worksheet?