Greetings all
I am using the following code to send the results of a query to Excel
DoCmd.OutputTo acOutputQuery, "Import op by week", acFormatXLS, "C:\Test.xls", True
It sends it OK but makes a new spreadseet every time.
Can I alter the code to send the results of the query
to an existing spreadsheet, where the charts and things are already set up ? rather than create a new one all the time.
thanks and rgds
Nick
I am using the following code to send the results of a query to Excel
DoCmd.OutputTo acOutputQuery, "Import op by week", acFormatXLS, "C:\Test.xls", True
It sends it OK but makes a new spreadseet every time.
Can I alter the code to send the results of the query
to an existing spreadsheet, where the charts and things are already set up ? rather than create a new one all the time.
thanks and rgds
Nick