AutoFormatRules Object
Outlook Developer Reference |
Represents the collection of AutoFormatRule objects in a view.
Version Information
Version Added: Outlook 2007
Remarks
Use the Add method or the Insert method of the AutoFormatRules collection to create a new formatting rule for the following objects derived from the View object:
AutoFormatRule objects contained in an AutoFormatRules collection are applied to each Outlook item in the order in which they are contained in the collection. Changes to AutoFormatRule objects are persisted only if the Save method of the AutoFormatRules collection is called.
Example
The following Visual Basic for Applications (VBA) example enumerates the AutoFormatRules collection for the current TableView object, disabling any custom formatting rule contained by the collection.
Visual Basic for Applications |
---|
|
See Also