J
JP
Hi all,
Does anyone have code that can create parent folders automatically (if
they don't exist)?
For example I use MkDir to create folders. Currently I am doing it
this way:
MkDir FolderA
MkDir FolderA\FolderB
MkDir FolderA\FolderB\FolderC
to create FolderC
Is there a way to just write in the lowest subfolder (FolderA\FolderB
\FolderC) and Excel/VBA would create the parent folders on its own, if
they don't exist?
Thx!
--JP
Does anyone have code that can create parent folders automatically (if
they don't exist)?
For example I use MkDir to create folders. Currently I am doing it
this way:
MkDir FolderA
MkDir FolderA\FolderB
MkDir FolderA\FolderB\FolderC
to create FolderC
Is there a way to just write in the lowest subfolder (FolderA\FolderB
\FolderC) and Excel/VBA would create the parent folders on its own, if
they don't exist?
Thx!
--JP