Visual Basic for Applications Reference

Visual Studio 6.0

ChDrive Statement

See Also    Example    Specifics

Changes the current drive.


ChDrive drive

The required drive argument is a string expression that specifies an existing drive. If you supply a zero-length string (""), the current drive doesn't change. If the drive argument is a multiple-character string, ChDrive uses only the first letter.