Rediger

Del via


Categories.Remove method (Outlook)

Removes an object from the collection.

Syntax

expression.Remove (Index)

expression A variable that represents a Categories object.

Parameters

Name Required/Optional Data type Description
Index Required Variant Either a Long value representing the index number of the object, or a String value representing either the Name or CategoryID property value of an object in the collection.

Remarks

If the name of a category is specified in Index, this method removes the first Category object that matches the specified value.

See also

Categories 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.