Transfer 2 querys to the excel workbook but to different sheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a problem. I use the following code to transfer a query to an excel
sheet.

Private Sub Command9_Click()
DoCmd.OutputTo acOutputQuery, "6_FORECAST_TO_VENDOR", acFormatXLS,
"Forecast.XLS", True
End Sub

What I want is to transfer yet another query to the same excel workbook but
another sheet. How can this be done?

regards
Ticoton
 
Back
Top