DoCmd.OutputTo acOutputQuery, _
"qryMyQuery", _
acFormatXLS, _
"C:\Temp\Sales_PerformanceWk" & DatePart("ww", Date) &
".xls"
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
---------------------------
> I'm sure this is easy but, using the OutputTo command I am outputting
> several
[quoted text clipped - 9 lines]
>
> MH
MH UK - 15 Dec 2005 11:41 GMT
Thanks Graham.
I was close but couldn't get the format right. I was placing " " incorrectly.
> DoCmd.OutputTo acOutputQuery, _
> "qryMyQuery", _
[quoted text clipped - 21 lines]
> >
> > MH