Hi,
I am trying to make an excel sheet with a macro. The goal would be if I click on a cell and then on a button (with a macro assigned to it) it would create a folder to a specific place with the name of the cell.
However I would it like this: if I click on the Rng(r,c) cell, it should create the folder with a name of this cell value and to a place which is in the (r, c=c-3) cell. But unfortunately I couldn't find out how to refer to a columns value next to another column by 3 columns.
Example:
D1 cell: file://\\network_folder\subfolder\
D4 cell: 45678
So if there is 45678 in D4 cell, then after starting the macro it would create a folder named 45678 to the place of D1 so I can find my new folder: \\network_folder\subfolder\45678
Here is the macro, I highlighted the part which is wrong now, and maybe i shouldn't use Range function?
Thank you in advance very much!
Regards,
István
Bookmarks