Hi
I've created a simple code to export the query to excel. The exported excel spreadsheet always has wrap text. Please advise how to get rid of this format (wrap text) when exporting to excel by coding or somewhere in access I can modify.
QUOTE
Private Sub cmdAuditor_Click()
On Error GoTo cmdAuditor_Click_Err
DoCmd.OutputTo acOutputQuery, "qryAuditor", "ExcelWorkbook(*.xlsx)", "W:\Auditors.xlsx", True, "", , acExportQualityScreen
End Sub
UNQUOTE
I've created a simple code to export the query to excel. The exported excel spreadsheet always has wrap text. Please advise how to get rid of this format (wrap text) when exporting to excel by coding or somewhere in access I can modify.
QUOTE
Private Sub cmdAuditor_Click()
On Error GoTo cmdAuditor_Click_Err
DoCmd.OutputTo acOutputQuery, "qryAuditor", "ExcelWorkbook(*.xlsx)", "W:\Auditors.xlsx", True, "", , acExportQualityScreen
End Sub
UNQUOTE