Create Folder

  • Thread starter Thread starter Murray Outtrim
  • Start date Start date
M

Murray Outtrim

How do I create a folder for each name in a list of unknown length
 
Dim rng as Range, cell as Range
set rng = Range(Range("A1"),Range("A1").End(xldown))
for each cell in rng
mkdir "C:\MyFolder\Names\" & cell.Value
Next
 

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