Signature (Visual Basic / VBA)
Public Property Get DRIVE_REMOTE() As Long
Code Example
Debug.Print "Z is" & IIf(GetDriveType("Z") = DRIVE_REMOTE), "", " NOT") & " a remote drive."
"Drive Type Is Remote" The GetDriveType Function returns this value to indicate that the specified drive is a remote (network) drive.
Public Property Get DRIVE_REMOTE() As Long
Debug.Print "Z is" & IIf(GetDriveType("Z") = DRIVE_REMOTE), "", " NOT") & " a remote drive."