ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   New sub-folder in Excel using a formula (https://www.excelbanter.com/excel-worksheet-functions/157238-new-sub-folder-excel-using-formula.html)

Brian Connolly

New sub-folder in Excel using a formula
 
I would like to read a cell value then create a Windows folder using the
value in the cell as the folder name

Gary''s Student

New sub-folder in Excel using a formula
 
In an arbitrary cell, enter:

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

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

--
Gary''s Student - gsnu200742


"Brian Connolly" wrote:

I would like to read a cell value then create a Windows folder using the
value in the cell as the folder name



All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com