The only way I can think of doing it is to declare a public (global) variable (i.e. Public gbolEventFired as Boolean) and when the event fires, set the Public variable to True. Your module should be, periodically, checking to see if the public variable is True. When it is, then do what you want.
Why do you want to stop the code, for debugging? If so you can just set a watch or use the Stop command, which will pause the code and wait for a user response.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.