If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Interrupt running macro?
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. |
#2
|
|||
|
|||
Interrupt running macro?
The "Stop" statement causes a break in the macro execution. It works as if
you had placed a breakpoint at that line. Once interrupted at the "Stop" statement, you can press F5 to resume from that line onwards. - Chirag PowerShow - View multiple PowerPoint slide shows simultaneously http://officeone.mvps.org/powershow/powershow.html "caten" wrote in message ... 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. |
Thread Tools | |
Display Modes | |
|
|