OlkListBox 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

AddItem

Adds an item to the list, optionally specifying an index for the new item to appear in the list.

Clear

Removes all objects from the list.

Copy

Copies the current selection in the drop-down list to the clipboard.

GetItem

Obtains a String that represents an item at the specified location in the list.

GetSelected

Returns a Boolean that indicates if the indexed item is currently selected.

RemoveItem

Removes the specified item from the list.

SetItem

Sets the item at the specified location in the list to the specified value.

SetSelected

Sets the selected state of an item at the specified location in the list to the given Selected value.