I want to deactivate / activate a particular alarm in Runtime when needed.

Combined with deactivating the alarm to be active in Runtime I also want the alarm to be deactivated in a certain time.
This timevalue should be changed in the screen for induvial Control of the time the specificed alarm should be deactivated.
After reaching this time limit I want the alarm to be activated again in runtime automatically

I know about REVISION on the statusstring on the variable in VBA using StatusString = "REVISION=1" but need to combine this with the timer for setting the StatusString = "REVISION=0 after the timer expires

The momentary switch function on buttons with holding time for set and reset values can be used to activate/deactivate functions but donít think this is a good option