VBA FileExists

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

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

VBA FileExists Syntax

filepath
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