Hello. I have a timer that I created for a specific purpose that is activated by a macro assigned button (shape). The problem that I am having is that if the button is clicked more than once while the timer is running the countdown time accelerates. In other words, the number of seconds that it takes off each cycle increases every time the button is clicked. The button sometimes will get clicked an extra time by mistake and I would like to prevent this from impacting the timer. How can I limit the macro from re-firing once it is already running? The code I am currently using is below. Note, there is a bit of noise in it because I actually have the timer running twice per cycle with different times and the times are assigned by cell references along with a delay between the two countdowns. That is why there are also macros with "2" at the end. The ones with no "2" at the end are specific to the first run and the ones with a "2" at the end are specific to the second run. I assume that some additional code will need to be added to the StartTimer macro to achieve what I want to do, but am not 100% sure, thus why I am sharing everything.
Please Login or Register to view this content.
Bookmarks