Err=0

L

Lina Kazakova

Does anybody know what Err=0 means? Error message does not
give Err description. Error happens on Open Event of
unbound form.
 
D

Douglas J. Steele

Err=0 means there isn't an error. Odds are you've got error handling in your
procedure, and you forgot to put an exit statement before the error
handling. The nomal approach is:

On Error GoTo Err_Open

' code here

End_Open:
Exit Sub

Err_Open:
Msgbox ...
Resume End_Open

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top