I tried exporting a query into excel
DoCmd.OutputTo 1, "Final Sponsor", acFormatXLS, "C:\Temp\Sponsor - " & Format(Date, "dd mmm yyyy") & ".xls", , 0
I get "Microsoft Access can't save the output data to the file you've selected."1 should equal a query.
The command works for acReports (3) AcformatXLS works for reports output to xls.
Thanks