How can I get access to output my reports in an XLSX vs an XLS format?
DoCmd.OutputTo 3, "Report_Name", acFormatXLS, "C:\Temp\Report_Output_Name - " & Format(Date, "dd mmm yyyy") & ".xls", , 0
I have tried
acFormatXLSX and & ".xlsx", , 0
DoCmd.OutputTo acOutputReport, "Report_Name", acFormatXLSX, "C:\Temp\Report_Output_Name.xlsx", True
I get - Runtime error '2282': "The format in which you are attempting to output the current object is not available."
I don't want an Excel 95 workbook.
Thanks