Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
定义的名称通常在工作表或工作簿级别定义。但也可以使用旧的 xl4 宏调用在应用程序级别定义它们。因此,它们成为存储在 VBA 项目被重置(例如由于错误)时不会被重置的状态的地方。
这是一个老把戏,但我不记得怎么做。而且文档不多——有些人一定认为 xl4 已经过时了。
Chip Pearson 在这里记录了它:http ://www.cpearson.com/Excel/hidden.htm