S
Steven
I have the following command:
DoCmd.TransferSpreadsheet acExport, , "xlquery", "C:\My
Documents\ExportFile.xls", True, ""
When the file is created in excel the worksheet name
defaults to xlquery which is the name of the query in the
command.
My question is how do I name the worksheet in excel what I
want and not have it default to the name of the query?
Thank you for your help.
DoCmd.TransferSpreadsheet acExport, , "xlquery", "C:\My
Documents\ExportFile.xls", True, ""
When the file is created in excel the worksheet name
defaults to xlquery which is the name of the query in the
command.
My question is how do I name the worksheet in excel what I
want and not have it default to the name of the query?
Thank you for your help.