I never use Add-Ins, but reading around I understand people are using it.
one Add-ins that I would love to have is something like this:
- a variable analyzer
will check all variables, public or private and see if those are used at all and if different modules uses the same variable and inform me theres a doublet.
- a function name and variable analyzer
like the above, if a function, private or public is used in another module, if so, inform me as well, and also, if variables used inside the functions are also used as module variables
example:
a report will tell:
MyVar is found in module1, module2, module1(MyFunc)
OtherVar in module1 is a Public variable but only used in module1
SameVar in module1 is a Public variable a doublet conflict in module2(AnotherFunc) could cause errors.
ThatVar in module1 is never used.
and so on.
is there ADD-INS that have this?
one Add-ins that I would love to have is something like this:
- a variable analyzer
will check all variables, public or private and see if those are used at all and if different modules uses the same variable and inform me theres a doublet.
- a function name and variable analyzer
like the above, if a function, private or public is used in another module, if so, inform me as well, and also, if variables used inside the functions are also used as module variables
example:
Code:
module1
Dim MyVar as Long
Dim ThatVar as Integer
Public OtherVar as Long
Public SameVar as Long
Function MyFunc()
Dim MyVar as Long
OtherVar = OtherVar + 1
End Function
module2
Dim MyVar as Long
Function AnotherFunc()
Dim SameVar as Integer
SameVar = SameVar + 1
End Function
MyVar is found in module1, module2, module1(MyFunc)
OtherVar in module1 is a Public variable but only used in module1
SameVar in module1 is a Public variable a doublet conflict in module2(AnotherFunc) could cause errors.
ThatVar in module1 is never used.
and so on.
is there ADD-INS that have this?