Items Methods (Outlook)

GitHub-Mark-64px

Contribute to this content

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

Methods

Name

Description

Add

Creates a new Outlook item in the Items collection for the folder.

Find

Locates and returns a Microsoft Outlook item object that satisfies the given Filter.

FindNext

After the Find method runs, this method finds and returns the next Outlook item in the specified collection.

GetFirst

Returns the first object in the collection.

GetLast

Returns the last object in the collection.

GetNext

Returns the next object in the collection.

GetPrevious

Returns the previous object in the collection.

Item

Returns an Outlook item from a collection.

Remove

Removes an object from the collection.

ResetColumns

Clears the properties that have been cached with the SetColumns method.

Restrict

Applies a filter to the Items collection, returning a new collection containing all of the items from the original that match the filter.

SetColumns

Caches certain properties for extremely fast access to those particular properties of each item in an Items collection.

Sort

Sorts the collection of items by the specified property. The index for the collection is reset to 1 upon completion of this method.