Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have an Alert that sends an email each time the QVW reloads, but some days I maybe testing and I will reload many times.
I want to create a button on the front end to disable the Alert.
Something like
SUB disablealert
ActiveDocument.GetAlert("AL04").Enabled = false
END SUB
But this is not working
Regards
Alan
Thanks Tresesco.
That changes the condition, but I want to disable the Enabled Tick Box.
I am already using a Complicated Expression for the Condition of sending the email alert.
But thanks for this, it's interesting.
Regards
Alan
You can put it like:
Condition= <Your Existing Condition> And variable=1
Sorry, you are right, I have it working now thanks
I think the enable-statement will only work if you set it per properties and not directly:
set docprop = ActiveDocument.GetProperties
set al = docprop.Alerts
al.Item(3).Enabled = true
ActiveDocument.SetProperties docprop
- Marcus