用于创建变量的即时窗口内存不足

即时窗口中的内存受限。 此错误具有以下原因和解决方法:

  • You specified a variable in the Immediate window that must be instantiated, since it wasn't created in the program's code context.

    Delete the reference to the variable in the Immediate window, or declare the variable in the program's code context so that it doesn't have to be created in the Immediate window.

有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。