Click to See Complete Forum and Search --> : VB Code error control not working!!! WHY?
Anubis
Oct 11th, 2004, 03:52 AM
Private Sub Command5_Click()
On Error GoTo ehandler
MoveNext
Exit Sub
ehandler:
MsgBox
Resume Next
End Sub
RobDog888
Oct 11th, 2004, 11:38 AM
Either there is no error or in your Tools > Option > General tab >
the Break on All errors is selected. So this will ignore your error
handling.
si_the_geek
Oct 11th, 2004, 12:06 PM
You haven't got any parameters for MsgBox, and it needs at least one, eg:
MsgBox "Error occured"
Also check what RobDog888 said, as that is a common problem when checking error handling.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.