All pastes #88231 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-07-14 17:52 UTC
rendered paste body
Private 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