Application.EventsEnabled doesn't work

For some reason when I use Application.EventsEnabled = False in UserForm CorelDRAW continues to process events.
For example runs the macro: Private Sub XXXXXXXX_Change ()

Does anyone know how to ban events for sure.

Thank in advance


  • Try using Public boolean variables and start the event with something like:

    If not boolOK Then Exit Sub

    Then, instead of disabling events, only write:

    boolOK = True

    Just take care to make the variable value `False` after running the code you need running without triggering an event.

Reply Children
No Data