标准 VBA 编辑器中是否有工具、方法或设置可以警告已被“暗化”但未使用的变量?
最佳答案
MZ-Tools将搜索您的代码并告诉您哪些内容未被使用。 VBA 版本可以找到 here .
MZ-Tools 中执行您询问的功能的具体功能是 Review Source Code :
The Review Source Code feature allows you to review the source code to detect some unused declarations (constants, variables, parameters, procedures, etc.).
关于vba - VBA 有没有办法了解未使用的变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/188913/