ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Deactivate a macro when used and reactivate again (https://www.excelbanter.com/excel-discussion-misc-queries/262258-deactivate-macro-when-used-reactivate-again.html)

BER

Deactivate a macro when used and reactivate again
 
I need to be able to prevent people using a macro twice in a spreadsheet
untill another macro is run and then allow the first macro to be used again

Bob I

Deactivate a macro when used and reactivate again
 
One method would be to set/clear and check flags

Ber wrote:

I need to be able to prevent people using a macro twice in a spreadsheet
untill another macro is run and then allow the first macro to be used again




All times are GMT +1. The time now is 11:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com