OlkListBox.RemoveItem method (Outlook)

Removes the specified item from the list.

Syntax

expression.RemoveItem (Index)

expression A variable that represents an OlkListBox object.

Parameters

Name Required/Optional Data type Description
Index Required Long A zero-based value indexing into the array of items in the list.

Remarks

If Index is outside the range of the allowed values (between zero and ListCount -1), then an out-of-bounds error will be returned.

See also

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