VBA DriveExists

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

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

VBA DriveExists Syntax

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