G
Guest
Can someone help me? I have an error handler that is not working correct. Below is a snippet, for some reason it read through, all the way to the error handler though there is not one. Thanks.
Public Sub GetData()
On Error GoTo MyHandler
With myObject
msgbox "test"
'- - -- - more code here etc..
End With
MyHandler:
MsgBox "error"
end sub
Public Sub GetData()
On Error GoTo MyHandler
With myObject
msgbox "test"
'- - -- - more code here etc..
End With
MyHandler:
MsgBox "error"
end sub