ComboBox.RemoveItem Method (Outlook Forms Script)

Removes a row from the list in a ComboBox.

Syntax

expression.RemoveItem(pvargIndex)

expression A variable that represents a ComboBox object.

Parameters

Name Required/Optional Data type Description
pvargIndex Required Variant Specifies the row to delete. The number of the first row is 0; the number of the second row is 1, and so on.

Return value

A Boolean that returns True if the method succeeds, False otherwise.

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.