VBA CopyFile - FileSystemObject - Copy Files in Excel VBA
VBA CopyFile - FileSystemObject - Copy Files in Excel VBA
Analyst Cave
Home » VBA FileSystemObject (FSO) in Excel – Methods and Properties » VBA CopyFile
VBA CopyFile
The FileSystemObject VBA CopyFile method copies one or more files from one a source
to a destination location.
source
The source location of the file or files. You can use wildcards such as *.* to specify more
than a single file matching the pattern.
destination
The destination location (folder) where the source files are to be copied to.
overwrite
Optional. If True will overwrite files with same name in destination folder. If True it will
omit files for which there is an existing filename in the destination folder.
https://analystcave.com/vba-filesystemobject-fso-in-excel/vba-copyfile/ 1/2
5/5/24, 10:55 PM VBA CopyFile - FileSystemObject - Copy Files in Excel VBA
https://analystcave.com/vba-filesystemobject-fso-in-excel/vba-copyfile/ 2/2