ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   creating a new folder with a value of a cell on the C directory (https://www.excelbanter.com/excel-programming/419869-re-creating-new-folder-value-cell-c-directory.html)

Mike H

creating a new folder with a value of a cell on the C directory
 
Try this

MkDir "C:\" & Range("C3").Value


Mike

"David" wrote:

This is what I've done
mkdir "C:\\ C3"

I want to take the value that I put in cell "C3", and by pressing a comand
button it create a folder on my hard drive like this

C:\"the value of cell C3"



All times are GMT +1. The time now is 07:20 PM.

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