Greetings,
I am looking for someone to point me in the right direction as to how to use VBA code to export a query (as an .XLS file). I wasn't sure if I needed to use something in the query defs collection, or if there is a parameter that can be used with the "DoCmd.OpenQuery" command.
At any rate, any information you can give me would be greatly appreciated. So far I've seen no information on how to accomplish this, although I'm sure it's out there somewhere.
Thanks in advance!
I am looking for someone to point me in the right direction as to how to use VBA code to export a query (as an .XLS file). I wasn't sure if I needed to use something in the query defs collection, or if there is a parameter that can be used with the "DoCmd.OpenQuery" command.
At any rate, any information you can give me would be greatly appreciated. So far I've seen no information on how to accomplish this, although I'm sure it's out there somewhere.
Thanks in advance!