R
Ron West
When altering XL2007 VBA code in break mode, I often have to declare new
variables (eg with datatypes Boolean and Date) and I frequently get a faulty
'compile error' message saying that there is a "Duplicate Declaration in
Current Scope" when trying to continue.
There is no way out of it except to halt the program and completely restart
it from the beginning.
And, there absolutely definitely isn't a duplicate declaration because I can
compile and run the code with no alterations once I have stopped the code
(and wasted my previous run).
variables (eg with datatypes Boolean and Date) and I frequently get a faulty
'compile error' message saying that there is a "Duplicate Declaration in
Current Scope" when trying to continue.
There is no way out of it except to halt the program and completely restart
it from the beginning.
And, there absolutely definitely isn't a duplicate declaration because I can
compile and run the code with no alterations once I have stopped the code
(and wasted my previous run).