Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Main()
MsgBox (CheckDrive("D"))
End Sub
Function CheckDrive(sDrive As String) As Boolean
On Error Resume Next
'change drive
ChDrive sDrive
If Err.Number <> 0 Then
CheckDrive = False
Else
CheckDrive = True
End If
End Function