Article ID: 213672 - View products that this article applies to.
This article was previously published under Q213672
When you attempt to run a macro from the Macro dialog box, from within the Visual Basic Editor, or by pressing the macro's shortcut key, you receive the following error message:
In addition, when you attempt to click the Macros command on the Macro submenu of the Tools menu, nothing happens. You cannot click the Macros command and display the Macro dialog box.
Can't execute code in break mode.
You may also notice that the Record New Macro command on the Macros submenu of the Tools menu is not available (appears dimmed).
This behavior occurs when you attempt to run a macro and another macro is in break mode. For example, this can occur if you have added a breakpoint to a macro by selecting a line of code and pressing F9, or by adding the following line of code to the macro:
Exit break mode. To do this, switch to the Visual Basic editor and use any of the following methods:
Article ID: 213672 - Last Review: October 11, 2006 - Revision: 3.2