Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When one hits "End" on a error in the code after a EnableEvents=false,
the complete programming has been finised! So how can a automaticly re-enable the events? I tryed using a sub with EnableEvents=True that get's executed with a OnTime-event after the code has been finished, but this gives "Can't execute code in break mode" while I'm debugging and programming. Also if I go in break-mode while debugging, the last line that re-enables the events isn't getting executed. This way I need to enable the events manually before I can start debugging it again. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ERRORS IN CODE 2003 | Excel Discussion (Misc queries) | |||
Errors in VB Code since adding macro | Excel Discussion (Misc queries) | |||
VBA Code Errors | Excel Discussion (Misc queries) | |||
Calling a bit of code from a sheet errors | Excel Discussion (Misc queries) | |||
Remind me to set Error Trapping to Break on Unhandled Errors | Excel Programming |