Below is the code I am using to send a query to Excel. The problem is if a cell is over 255 characters it is truncated. If I go FILE then Export the query it does not truncate the cells in Excel. How can I turn the
File Export to a command button or VBA to the Cells are not truncated in Excel?
File Export to a command button or VBA to the Cells are not truncated in Excel?
Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryECNPlannedByMonthPIDNew", "c:\my documents\ECNSPIP.xls", True, ""