无法在中断模式中执行代码
在暂停代码执行时进入中断模式。 此错误的原因及解决方案如下:
- You tried to run code from the Macro dialog box. 但是,Visual Basic 已在运行代码,尽管此代码在中断模式下暂停。 您可能在并不知晓的情况下进入了中断模式,例如,如果出现语法错误或运行时错误。 继续运行暂停的代码,或终止其执行,然后从“宏”对话框运行代码。 You can fix the error and choose Continue, or you can return to the Macro dialog box and restart the macro.
有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。