JohanGduToit
Board Regular
- Joined
- Nov 12, 2021
- Messages
- 89
- Office Version
- 365
- 2016
- Platform
- Windows
Morning All,
I receive an Error '3274' when attempting to import an Excel 97-2003 (.xls) file into Access.
Current Code:
I would have thought that acSpreadsheetTypeExcel8 would cater for the fact that the file is a Excel 97-2003 (.xls) file; but it does not work.
Any help would be greatly appreciated!!
I receive an Error '3274' when attempting to import an Excel 97-2003 (.xls) file into Access.
Current Code:
VBA Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, "CRAZY_RAW", fWorkingPath & fName, False
I would have thought that acSpreadsheetTypeExcel8 would cater for the fact that the file is a Excel 97-2003 (.xls) file; but it does not work.
Any help would be greatly appreciated!!