VBA FileCopy function

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

FileCopy function Description

The VBA FileCopy function copies a file from the source directory to the destination directory.

Syntax

The syntax for the ChDir function is:

Parameters

source
The source file path of the file you want to copy.

destination
The destination file path to which you want to copy the file to.

Example usage

The FileCopy statement can be used in VBA. Let’s look at some FileCopy function examples:

Simply the best place to learn Excel VBA