AutoFormatRules.Remove Method (Outlook)
Removes an object from the collection.
Version Information
Version Added: Outlook 2007
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.