Hello, everyone!
I need to import an Excel table consisting of two worksheets named 'ISKosten' and 'ITKosten'. The first worksheet is imported flawlessly.
However, Access doesn't seem to recognise the second sheet. After this piece of code:
I get error '3011': the Microsoft-Jet-Database modul couldn't find the object 'ITKosten$A1:I8 0000'.
WHY not? Everything works with the first worksheet!
Any help would be very much appreciated!
OfficeDummy
I need to import an Excel table consisting of two worksheets named 'ISKosten' and 'ITKosten'. The first worksheet is imported flawlessly.
However, Access doesn't seem to recognise the second sheet. After this piece of code:
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _ "IT", vrtSelectedItem, False, "ITKosten!A1:I80000"
WHY not? Everything works with the first worksheet!
Any help would be very much appreciated!
OfficeDummy
Comment