Err=0

  • Thread starter Thread starter Lina Kazakova
  • Start date Start date
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.
 
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
 
Back
Top