如何引用旧版本的 VBA 库?

How to reference an old version of the VBA library?

我正在使用 Excel 2013。VBA 引用是 Excel (built-in) 的一部分,所以我无法删除它。

是否可以引用另一个版本的 VBA 库?除了好奇之外,我想知道的原因是查看旧版本的对象浏览器,看看它是否列出了一些 currently-hidden/obsolete properties/methods 例如 .

Workbook.SheetActivate event has a Sh parameter of type Object. One of the possible sheet types is Excel.DialogSheet which .

当我尝试添加另一个 VBA 引用时,我收到消息:Name conflicts with existing module, project, or object library.

默认使用的是:

其他可用的参考资料来自:

我还检查了另一台 Excel 2003 使用的计算机:

并且拥有:

简单的回答是否定的。另外,也没有必要。只需打开对象浏览器,右键单击某个对象并选择 'Show hidden members'。然后,您可以随心所欲地浏览所有已弃用的功能,例如 DialogSheet。 :)