robertlevine
Registered User.
- Local time
- Today, 09:57
- Joined
- Oct 8, 2003
- Messages
- 24
I am having trouble importing data into Microsoft Access 97 from a Microsoft Excel 97 spreadsheet. I am getting the Run-time error '3274', "External table isn't in the expected format."
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "tablename", "c:\file.xls", True, "'sheetname'!A1:AY50"
If I physically go and open the file and then run the same transferspreadsheet code, the file imports flawlessly.
Can anyone help?
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "tablename", "c:\file.xls", True, "'sheetname'!A1:AY50"
If I physically go and open the file and then run the same transferspreadsheet code, the file imports flawlessly.
Can anyone help?