![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
"buckskin" <buckskin (AT) mailinator (DOT) com> wrote in news:8ic1buFj70U1 (AT) mid (DOT) individual.net: 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. Most likely the spreadsheet or table structure no longer matches that of the saved import spec. I've gotten the same message in that scenario. Try it with the import wizard and it should tell you what's wrong with the saved import spec when you load it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |