AutoFormatRules.Remove method (Outlook)
Removes an object from the collection.
Syntax
expression.Remove (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. |
Remarks
If the name of a formatting rule to be removed is specified in Index, this method removes the first AutoFormatRule object that matches the specified name.
Built-in formatting rules cannot be removed from the collection.
See also
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.