Hi Guys,
I'm not sure how to do this the simplest way and was hoping for some ideas. I have a excel document that contains multiple macros. One of them adds a banner across the menu worksheet saying that the file is obsolete.
To reactivate the sheet, an admin needs to enter a password. This then removes the banner.
The problem is that a user can still use the macros on the other worksheets by clicking the trigger buttons. What I'd like to do is deactivate all of the macros except the one that can re-activate all of the macros.
The first though was to use a CALL macro at the beginning of each macro to check the status of the document. Is there a simpler way to do it though?
A second thought maybe restricting the macros that can be run when the on open macro runs. I'm not sure if that is possible though.
Thanks for the help!
I'm not sure how to do this the simplest way and was hoping for some ideas. I have a excel document that contains multiple macros. One of them adds a banner across the menu worksheet saying that the file is obsolete.
To reactivate the sheet, an admin needs to enter a password. This then removes the banner.
The problem is that a user can still use the macros on the other worksheets by clicking the trigger buttons. What I'd like to do is deactivate all of the macros except the one that can re-activate all of the macros.
The first though was to use a CALL macro at the beginning of each macro to check the status of the document. Is there a simpler way to do it though?
A second thought maybe restricting the macros that can be run when the on open macro runs. I'm not sure if that is possible though.
Thanks for the help!