![]() |
Add a sub folder
I want to use a macro to add a sub directory. Hod do I check to verify
that it does not already exist before adding directory? TIA |
Add a sub folder
"Fan924" wrote in message
... I want to use a macro to add a sub directory. Hod do I check to verify that it does not already exist before adding directory? TIA You could use Dir for that. But you don't have to, MkDir will err and create nothing if the folder already exists. Just allow it to: On Error Resume Next MkDir ("C:\Temp") HTH. Best wishes Harald |
All times are GMT +1. The time now is 08:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com