VBA CopyFolder

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

The FileSystemObject VBA CopyFolder method copies one or more folders from one a source to a destination location.

VBA CopyFolder Syntax

source
The source location of the folders. You can use wildcards such as *.* to specify more than a single folder matching the pattern.
destination
The destination location (folder) where the source folders are to be copied to.
overwrite
Optional. If True will overwrite folders with same name in destination folder. If True it will omit folders for which there is an existing folder in the destination folder.

VBA CopyFolder Examples

Simply the best place to learn Excel VBA