Muokkaa

Jaa


ListBox.RemoveItem Method (Outlook Forms Script)

Removes a row from the list in a ListBox.

Syntax

expression.RemoveItem(pvargIndex)

expression A variable that represents a ListBox 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.

Remarks

This method will not remove a row from the list if the ListBox is data bound.

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.