Access to Outlook Messaging Rules

D

DeepSpaceMan

I am wondering if there is a simple way to programmatically access th
Outlook Messaging Rules using Outlook's VBA?

Background: I have written a set of macros that extend th
functionality of outlook's normal rules as well as make certain thing
more reliable. However, the rule that fires off this extende
functionality gets periodically disabled through a "rules in error
warning. I then have to and re-enable the rule by drilling through th
menus and reactivating the rule. To make matters worse, other than th
rules in error warning window I have no way of knowing that the rul
has been disabled.

I am exploring a number of options to improve the situation:
1) Add a toolbar button to reactivate the disabled rule.
2) Programmatically reactivate the rule either periodically or based o
some other rule that is rarely/never disabled.
3) Ultimately, determine the cause of the rule being found in error an
correct the problem so that it does not happen in the first place.

The first two of these require that I either "sendkeys" my way throug
the menus or find a way to programmatically access the rules. Th
trouble with the latter approach is that I have been unable to find an
information on which object contains the rules and/or the rule enabl
flag. Anyone know how to access or where the Outlook rules are?

BTW, I am running Outlook 2002
 
S

Sue Mosher [MVP-Outlook]

Not really. There's a limited interface for created very simple rules that
run on the Exchange mailbox, but it can't do anything on your list. The
solution in your case might be to create the functionality totally in VBA
and skip the Rules Wizard completely.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top