Rules object (Outlook)

Represents a set of Rule objects that are the rules available in the current session.

Remarks

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.

Methods

Name
Create
Item
Remove
Save

Properties

Name
Application
Class
Count
IsRssRulesProcessingEnabled
Parent
Session

See also

Rules Object Members Outlook Object Model Reference

Support and feedback

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.