I'm using the TransferText function to export a table from Access into Excel. If I export the file as a .txt or a .csv, it works fine; however when I try to export the file as an .XLS, I get a run-time error of 3027 -- "Cannot update. Database or object is read-only."
Here's the code:
DoCmd.TransferText acExportDelim, , "tmpAssociateCharges", "C:\Associate.xls", True
Here's the code:
DoCmd.TransferText acExportDelim, , "tmpAssociateCharges", "C:\Associate.xls", True