VBAWorking With Files and Directories Without Using FileSystemObject
Scripting.FileSystemObject is much more robust that the legacy methods in this topic. It should be preferred in almost all cases.
Creating and Deleting File Folders
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0