AutoFormatRules.Item method (Outlook)

Returns an AutoFormatRule object from the collection.

Syntax

expression.Item (Index)

expression A variable that represents an AutoFormatRules object.

Parameters

Name Required/Optional Data type Description
Index Required Variant Either the index number of the object, or a value used to match the Name property value of an object in the collection.

Return value

An AutoFormatRule object that represents the specified object.

See also

AutoFormatRules Object

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.