New sub-folder in Excel using a formula

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

Guest

I would like to read a cell value then create a Windows folder using the
value in the cell as the folder name
 
In an arbitrary cell, enter:

C:\brian
and Select that cell. Then run:

Sub stitute()
v = Selection.Value
MkDir v
End Sub
 

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