Table of contents
Collapse the table of content
Expand the table of content

RemoveItem Method

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Removes a row from the list in a list box or combo box. SyntaxBoolean = object. RemoveItemindex The RemoveItem method syntax has these parts:

objectRequired. A valid object.
indexRequired. Specifies the row to delete. The number of the first row is 0; the number of the second row is 1, and so on.

This method will not remove a row from the list if the ListBox is databound (that is, when the RowSource property specifies adata source for the ListBox ).

© 2018 Microsoft