Categories.Remove Method (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

Removes an object from the collection.

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.

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

Show: