Interrupt running macro?

C

caten

In the VB Editor, when I'm testing a macro, I can press the BREAK key to
interrupt and stop the macro. Is there a way to interrupt a macro while it's
running from an add-in? (I tried pressing the BREAK key, but that didn't
work. Incidentally, I tried Ctrl+C, from DOS days, but that didn't work
either.)

I found this example: http://www.pptfaq.com/FAQ00972.htm, but I'm not sure
how to get my event handler to send a message back to the active/running
macro and tell it to Exit Sub.

If there is another better or easier way to accomplish this, I'm open to any
suggestions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top