Hello,
Currently I have a submit button macro that moves a selected range of cells from one sheet to a protected sheet of compiled data. I also have an undo button macro that deletes the last submission from the protected sheet.
I only want the undo macro to be able to run once before the submit macro is run again. Is there a way to implement a global variable such that the undo macro only runs if the variable is on?
The variable would be set to off at the end of the undo macro and turned on after the submit macro.
How can this be done? Any help would be greatly appreciated.
Bookmarks