Make Directory

G

Guest

I export my results like this:
DoCmd.OutputTo acOutputQuery, "q_RNtoExcel", acFormatXLS, "C:\PAD\.xls", True

But if the user does not have the dir "C:\PAD" as you know it cannot write
it out.
Is there a way to code a make directory statement, then run the
DoCmd.Output...??

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top