Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Manipulating Rules and Alerts in VBA? (http://www.outlookbanter.com/outlook-vba/98245-manipulating-rules-alerts-vba.html)

Andy Smith December 22nd 09 04:00 PM

Manipulating Rules and Alerts in VBA?
 
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?

--
Andy Smith
Senior Systems Analyst
Standard & Poor''s, NYC


Ken Slovak - [MVP - Outlook] December 22nd 09 04:24 PM

Manipulating Rules and Alerts in VBA?
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Andy Smith" wrote in message
...
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?

--
Andy Smith
Senior Systems Analyst
Standard & Poor''s, NYC



Michael Bauer [MVP - Outlook] December 22nd 09 04:29 PM

Manipulating Rules and Alerts in VBA?
 


Since Outlook 2007 you can access Rules.

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
http://www.vboffice.net/product.html?pub=6&lang=en


Am Tue, 22 Dec 2009 07:00:01 -0800 schrieb 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?


Andy Smith December 23rd 09 10:32 PM

Manipulating Rules and Alerts in VBA?
 
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.

--
Andy Smith
Senior Systems Analyst
Standard & Poor''s, NYC



"Andy Smith" wrote:

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?

--
Andy Smith
Senior Systems Analyst
Standard & Poor''s, NYC



All times are GMT +1. The time now is 12:59 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com