Hi
I am trying to export the result from a query into a spreadsheet. It works fine if I put the entire path to the spreadsheet into the code but it brings up errors if I am trying to following:
DoCmd.TransferSpreadsheet acExport, "(SE)qry_FindStatusChange", gstrAppDirectory() & "reports\StatusChange.xls", True
Anyone any ideas?