Manipulating Rules and Alerts in VBA?

  • Thread starter Thread starter Andy Smith
  • Start date Start date
A

Andy Smith

Is there really no way in VBA code to create rules and alerts, change their
parameters, or even examine them? There's no way to enumerate the rules and
dump all their parameters to a text file, for example? Is it really all
hidden away? How then is the Rules Wizard implemented?
 
In Outlook 2007 you can do that, not in earlier versions of Outlook.

The Rules Wizard is implemented to work on the hidden MAPI stuff for rules
that was not expoed to the Outlook object model until Outlook 2007. The new
object model stuff does the same thing. I have yet to see any docs on that
so you'd need to reverse engineer it to figure it out.
 
OK, but I have 2003. It's got to be somewhere, because somehow the Rules and
Alerts Wizard allows you to add/change/delete rules and alerts. But I've
gone into the VBE and searched the Object Browser with hidden member on, and
I've added references to search (Tools/References), and still nothing.

Someone's done it -- see www.outlookrulesmanager.com -- so I want to do it
too.
 
I told you where it is, in hidden MAPI properties that are undocumented.

Feel free to download a MAPI viewer and study the hidden items and
properties and to reverse engineer all that, if you want to do that too.
 
Back
Top