I use the following code to export (from a form) the results of a saved query (Hoursworked) to Excel.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "HoursWorked", "C:\path\hoursworked.xls"
MsgBox "Hours Worked Exported.", vbInformation, "Message"
I know have a pivot...