CreateFolder

K

Kerry

Hi

I am trying to create a new folder as part of my word 2000
VBA procedure. I have identified that there is a such a
command but my help file will not show it!!

I have searched the Microsoft support sites and the MVP
word site but no joy - I wonder if anyone could help with
some example code.

Thanks very much for your time.

Kerry
 
B

Brian

Hi kerry,

try:

mkdir Path

where Path is replaced with the directory to create.

also note:

'this will return the directory name if it exists...useful to test if you
need to create the folder
dir(Path, vbDirectory)
 

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