VBA DriveExists

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

The FileSystemObject VBA DriveExists function returns True if the drive exists otherwise will return False.

VBA DriveExists Syntax

drivepath
A string representing the drive letter or path to the drive.

VBA DriveExists Examples

Below examples assume drive “C” exists and no other drives exists on workstation:

Simply the best place to learn Excel VBA