How can rule be turned on/off through a macro?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is sort of an out of office issue. Certain emails come legitimately to
me but if I am out of the office, I want them to go to another person. The
other person should not normally get them. Only when I am out. So I can
create a rule to redirect and turn it on while I am gone. Then later turn it
off. But I would like to make this as easy as possible. Could a macro be
created to create and turn on the rule (all information should be static) and
one created to turn off or remove the rule? Then place the macros in toolbars
or elsewhere to use? Having a macro name such as "Redirect2SQL" and
"TurnOffRedirect" is easier to use than recreating the whole rule. Is this
possible? -Mike R.
 
Mike R said:
This is sort of an out of office issue. Certain emails come legitimately to
me but if I am out of the office, I want them to go to another person. The
other person should not normally get them. Only when I am out. So I can
create a rule to redirect and turn it on while I am gone. Then later turn it
off. But I would like to make this as easy as possible. Could a macro be
created to create and turn on the rule (all information should be static) and
one created to turn off or remove the rule? Then place the macros in toolbars
or elsewhere to use? Having a macro name such as "Redirect2SQL" and
"TurnOffRedirect" is easier to use than recreating the whole rule. Is this
possible? -Mike R.

I suppose a macro could be created but you can just
go Check/Uncheck to disable/enable the rule already
so the macro is going to make this minimally easier
(right there in the Toolbar if you assign to a button
and you want have to review the list of "On/Off"
rules.)

On the other hand, just using the provided GUI is
pretty much designed to do what you want so maybe
just a hotkey/macro to bring up the rules list would
be nice or even better.
 
Hi Mike,

you can´t enable/disable rules via the OOM. You just could, as Herb
suggested, bring up the rules dialog. Another way could be using VBA
code instead of a rule.
 
Back
Top