False Negative Check of Variable not declared Or "is there any check for missing "foreign / not Local" Variables / Constants #6250
Unanswered
elRicharde
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, as I´m doing a big Refactoring, it would be very helpful if any Check could find undeclared, unlocal Variables.
Tabelle3
which has no CodeOption Explicit
StatementIs there any check that would find these Errors in Rubberduck?
If I try to run the Sub, Excel brings the error "Compile Error - Object not Found", but if i run another Sub in Modul4, these Check is not done.
As my Coding is a lot, I don´t want to miss anything and would be great full for a Solution here. As Excel finds the error at Runtime, I Hope RubberDuck can find it before as well.
p.s.: With Excel VBE Debug -> Compile [Project] i seem to cover the whole code for these error, it is step by step and not a s List as in Rubberduck, but better than nothing. Other Suggestions are very welcome.
Thanks for your Help and best Regards
Richard
Beta Was this translation helpful? Give feedback.
All reactions