When I import from Excel to Access in a single database using VBA below, it works fine.
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tblBoQ", "c:\Import\BoQ.xlsx", True
... but then when I break the database FE/BE, I get the attached error.
Data type, field size, etc seems to be correct as it is working well in single database. I've 10 fields to import, so I'm getting error for all fields.
Is there a different procedure or set of commands when importing in FE/BE scenarios? What am I doing wrong please??
Thanks
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12Xml, "tblBoQ", "c:\Import\BoQ.xlsx", True
... but then when I break the database FE/BE, I get the attached error.
Data type, field size, etc seems to be correct as it is working well in single database. I've 10 fields to import, so I'm getting error for all fields.
Is there a different procedure or set of commands when importing in FE/BE scenarios? What am I doing wrong please??
Thanks