Need to beable to create a folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all. Im having a bit of difficulties getting this done.

What I need to do is create a folder from excel, lets say "c:\test"

I cant seem to find the correct object to do this. What is the line used to
do this?

Also if all possible I need this to be a variable name (the final
destination) I.e c:test1, c:test2.

thanks in advance =)
 
Hi

MkDir "C:\Test"

Willl err if it already exists or if you're not allowed to. You trap those.

HTH. Best wishes Harald
 
MkDir "C:\Test"

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top