I have a project with several modules. I have created several Public variable to track items across all the modules.
When I re-run the macro, the public variables keeps their values from the last run and increases rather than starting from zero as they should.
I now set all the public variables to zero at the start of the macro after declaring them but what I want to know is, as my list of public variables grows, is there a simpler way to rest all public variables at the end of the macro?
Thanks for any help.
When I re-run the macro, the public variables keeps their values from the last run and increases rather than starting from zero as they should.
I now set all the public variables to zero at the start of the macro after declaring them but what I want to know is, as my list of public variables grows, is there a simpler way to rest all public variables at the end of the macro?
Thanks for any help.