PDA

View Full Version : creating folders with vba



falalo
02-04-2011, 12:24 PM
I am new to VBA.

I have over 100 word documents that each contain employee information. I would like to create a macro that will allow me to create individual folders for each document where the folders share the same names as each document.

How can I do this?


thanks

fumei
02-04-2011, 02:37 PM
You have 100 documents.

You want 100 folders? So you have 100 folders, with each folder containing ONE document?

Why? It can be done, although you have to specifiy the folder structure. Are all of the 100 folders subfolders of the folder that has the original document? Are all the documents in one folder now?