Thursday, February 16, 2012

Word VBA Macros Interrupted

When debugging Word VBA macros, the following message sometimes occurs:
Code execution has been interrupted

You then need to click on the Continue button repeatedly to run through the macro. When searching for a solution to this bug, I came across a comment in the MyMindLeaks blog that said to try and press Ctrl-Break when the macro is not running. This works perfectly!

[Source MyMindLeaks]