Anonymous
public text v1 · immutablePrivate Sub drvLocal_Change()
On Error GoTo Skip
dirLocal.Path = drvLocal.Drive
Exit Sub
Skip:
' Display this error if disk is empty or not in drive
MsgBox "Drive not found or empty", vbCritical, "Drive Error"
End Sub