I'm jut trying to import a spreadsheet into a table in Access 2000.
The spreadsheet is called cc-ledgcodebalances.xls with no field names.
My code is
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3, "tmptmp", VFileName, 0
This seemed to work once but since then I now get this;
The Microsoft Jet database engine could not find the object ''cc-ledgcodebalances$''. Make sure the object exists and that you spell its name and the path name correctly. 3011
Google searches aren't really turning up much that is useful. I'm trying to import the whole thing and I don't think this is to do with named ranges.
Bit stumped by this, any help?