Is it possible to disable a macro with another macro?
I have a worksheet with "Button A" and a hyperlink that runs "Macro A". Once it is clicked and Macro A runs, I want that hyperlink or that macro disabled until "Button B" is clicked that runs "Macro B". Conversely, once Macro B is run, I want Macro B to be deactivated until Macro A is run again.
The reason is, most times only Macro A should be run, but if it is, it should not be run again, unless Macro B is run, and Macro B should not be run until Macro A has already been run.
Any help would be appreciated. Thanks.
I have a worksheet with "Button A" and a hyperlink that runs "Macro A". Once it is clicked and Macro A runs, I want that hyperlink or that macro disabled until "Button B" is clicked that runs "Macro B". Conversely, once Macro B is run, I want Macro B to be deactivated until Macro A is run again.
The reason is, most times only Macro A should be run, but if it is, it should not be run again, unless Macro B is run, and Macro B should not be run until Macro A has already been run.
Any help would be appreciated. Thanks.