L
Lillian
Hello. I am having problem with the getdrive in vba.
When I insert a Usb Flash drive it works. When I pull out the flash drive
it debugs to the getdrive line in vba.
It even debugs and ignors the on error goto err_Error_Click.
Trapping the error doesn't work for me.
Dim fsH, dH
Set dH = fsH.GetDrive("G:")
If dH.IsReady Then
run my code here
End If
Is there anyway to solve this problem?
Don't know what else to do.
When I insert a Usb Flash drive it works. When I pull out the flash drive
it debugs to the getdrive line in vba.
It even debugs and ignors the on error goto err_Error_Click.
Trapping the error doesn't work for me.
Dim fsH, dH
Set dH = fsH.GetDrive("G:")
If dH.IsReady Then
run my code here
End If
Is there anyway to solve this problem?
Don't know what else to do.