AutoFormatRules Methods (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Name

Description

Add

Creates a new AutoFormatRule object and appends it to the AutoFormatRules collection.

Insert

Creates a new AutoFormatRule object and inserts it at the specified index within the AutoFormatRules collection.

Item

Returns an AutoFormatRule object from the collection.

Remove

Removes an object from the collection.

RemoveAll

Removes all custom formatting rules from the AutoFormatRules collection.

Save

Save all changes to AutoFormatRule objects within the AutoFormatRules collection.

Show: