I have some vba exporting a report to excel, the code is
This works fine, however when the sheet is open the headers are in row 2. the date and time of the export is in row 1.
How can I remove the date/time in the export process as this sheet is to be connected to another workbook to auto refresh and I need the headers in the 1st row?
Thanks guys
Code:
DoCmd.OutputTo acOutputReport, "Projects", acFormatXLS, _
"file path\data.xls",
This works fine, however when the sheet is open the headers are in row 2. the date and time of the export is in row 1.
How can I remove the date/time in the export process as this sheet is to be connected to another workbook to auto refresh and I need the headers in the 1st row?
Thanks guys