D
Dave Elliott
Will this work for a generic error handler code fro my forms?
I am trying to trap some errors after making a mde.
If you close the form before it finishes Calculating, then I get errors ,
else it works fine.
This code is on my forms exit event.
If err <> 2501 Then
GoTo Err_Command500_Click:
End If
On Error GoTo Err_Command500_Click
Exit_Command500_Click:
Err_Command500_Click:
Exit Sub
I am trying to trap some errors after making a mde.
If you close the form before it finishes Calculating, then I get errors ,
else it works fine.
This code is on my forms exit event.
If err <> 2501 Then
GoTo Err_Command500_Click:
End If
On Error GoTo Err_Command500_Click
Exit_Command500_Click:
Err_Command500_Click:
Exit Sub