Hello. I have the following.
Access DB (Office 365)
Excel (Office 365)
I am exporting a table (test) from an access DB. I use a macro to run the following command.
DoCmd.OpenQuery "030 - ABC"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "test", "C:\123.xls", True
Used to work all the time. Now I added a few columns of data to my 123 xls template and now i'm getting a "external table is not in the expected format"
I have since removed the newly added columns and I still get the error.
This has always ran in the past. Can I export from office 365 to an xls file? I need to stick to a xls version for particular reasons.
Is there some code that needs to be added? Are there references under tools that need to be selected?
Any input would be much appreciated.
Access DB (Office 365)
Excel (Office 365)
I am exporting a table (test) from an access DB. I use a macro to run the following command.
DoCmd.OpenQuery "030 - ABC"
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "test", "C:\123.xls", True
Used to work all the time. Now I added a few columns of data to my 123 xls template and now i'm getting a "external table is not in the expected format"
I have since removed the newly added columns and I still get the error.
This has always ran in the past. Can I export from office 365 to an xls file? I need to stick to a xls version for particular reasons.
Is there some code that needs to be added? Are there references under tools that need to be selected?
Any input would be much appreciated.