createfolder

  • Thread starter Thread starter jon
  • Start date Start date
J

jon

hi, i'm trying to create a new folder in c:/windows using
vba but my help file won't work for some reason. I
assume i should use the createfolder function, but i've
no way of knowing the syntax to use. any help v much
appreciated
thanks
 
Jon,

Use the MkDir statement. E.g.,

MkDir "C:\Test2"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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

Similar Threads

CreateFolder from Worksheet Columns 14
File System Object 2
filesystemobject 3
Creating Folders 1
creating new folders 2
Create folder from within Access VB 15
Vbscript 1
MkDir Simply Not Creating Folders 8

Back
Top