exporting query result to excel worksheet

G

Glenn Fisher

Hi everybody,
I have 2 access2k queries that I want to export to 2
worksheets in an Excel file. I want to accomplish this
through a cmd button event click in a form. Can someone
help with the code. I tried docmd.OutPutTo syntax, but it
doesn't have a range to specify. HELP!
 
Top