Code for Break on Unhandled Errors

  • Thread starter Thread starter Neil
  • Start date Start date
N

Neil

Does anyone have any code for setting the VBA option to "Break on Unhandled
Errors" (Access 2000). Thanks!

Neil
 
Neil said:
Does anyone have any code for setting the VBA option to "Break on
Unhandled Errors" (Access 2000). Thanks!

Neil

Application.SetOption "Error Trapping", 2

0 = Break on all errors
1 = Break in class module
2 = Break on unhandled errors
 
Back
Top