hi, can anyone tell me how to deal with the following problem?
there is a select query e.g. Query1 whixh contain the data that i want to export to Excel.
i try to use OutputTo and it works.
the excel file is served as a report. however, the column names in the exxcel file is programmer-friendly e.g. add , staffName. those column names are not user-friendly for the readers.
so, can i change the column names during exporting the the query by using VBA???
there is a select query e.g. Query1 whixh contain the data that i want to export to Excel.
i try to use OutputTo and it works.
the excel file is served as a report. however, the column names in the exxcel file is programmer-friendly e.g. add , staffName. those column names are not user-friendly for the readers.
so, can i change the column names during exporting the the query by using VBA???