L
Luis
Hello.
I'm trying to create a process to import certain excel worksheets from a
Excel workbook.
The problem i'm having is that only the first worksheet is imported.
If i use five times docmd.transferspreadsheet import to import five diferent
worksheets to five diferent tables, it imports five times the first worksheet.
Can anyone give me a hint ?
I'm using the following code.
DoCmd.TransferSpreadsheet acImport, 8, "Table1", "myFile.xls", True,
worksheet1
DoCmd.TransferSpreadsheet acImport, 8, "Table2", "myFile.xls", True,
worksheet2
Thanks
Luis
I'm trying to create a process to import certain excel worksheets from a
Excel workbook.
The problem i'm having is that only the first worksheet is imported.
If i use five times docmd.transferspreadsheet import to import five diferent
worksheets to five diferent tables, it imports five times the first worksheet.
Can anyone give me a hint ?
I'm using the following code.
DoCmd.TransferSpreadsheet acImport, 8, "Table1", "myFile.xls", True,
worksheet1
DoCmd.TransferSpreadsheet acImport, 8, "Table2", "myFile.xls", True,
worksheet2
Thanks
Luis