Hello there.
Access 2000.
stdocname = "CustomerWorkOrderRpt.XLS"
DoCmd.OutputTo acReport, "CustomerWorkOrderRpt", acFormatXLS, stdocname, True
Works, but Access closes, or crashes, immediately after creating the XLS spreadsheet.
I have tried AcFormatHTML, AcFormatSNP, acFormatRTF and all...