Removes a row from the list in a ListBox.
expression. RemoveItem( pvargIndex)
_expression_A variable that represents a ListBox object.
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. |
A Boolean that returns True if the method succeeds, False otherwise.
This method will not remove a row from the list if the ListBox is data bound.