make new subfolder for excel export

L

ll

Hi,
I am working with a database which exports an Excel report. I need to
create a new folder just for the downloads (by use of mkdir). My
question is, where would I put this mkdir code? It would be ideal to
include it with the Excel report button.
Any ideas?

Thanks,
Louis
 
J

John W. Vinson/MVP

ll said:
Hi,
I am working with a database which exports an Excel report. I need to
create a new folder just for the downloads (by use of mkdir). My
question is, where would I put this mkdir code? It would be ideal to
include it with the Excel report button.

Just put it in the VBA code in the button's Click event, I'd assume! Without
knowing how your database or your code are set up it's hard to say for sure,
though!
 

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