VBA FileExists

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

The FileSystemObject VBA FileExists function returns True if the file exists otherwise will return False.

VBA FileExists Syntax

A string representing path to the file.

VBA FileExists Examples

Below examples assume file “C:\Src\Hello.txt” exists and no other files exist in the folder “C:\Src”.

Simply the best place to learn Excel VBA