Rules object (Outlook)
Represents a set of Rule objects that are the rules available in the current session.
The Rules object model consists primarily of these objects: Rules, Rule, RuleActions, RuleConditions, RuleAction, RuleCondition, and the derived objects for certain rule actions and rule conditions. It provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. Although it does not support creation of every single rule that you can possibly create using the Wizard, it supports the most commonly used rule actions and conditions.
For more information on how to programmatically create, edit, and delete rules, see Managing Rules in the Outlook Object Model and How to: Create a Rule to Move Specific Emails to a Folder.
Rules Object Members Outlook Object Model Reference
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.