Hi,
have a look here:
http://accessblog.net/2006/07/export...cel-range.html
--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
"Ticotion" <(E-Mail Removed)> wrote in message
news:16E74D61-1831-41B6-9D78-(E-Mail Removed)...
> 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