RemoveItem method (Microsoft Forms)
Removes a row from the list in a list box or combo box.
Syntax
Boolean = object. RemoveItemindex
The RemoveItem method syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
index | Required. 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 data-bound (that is, when the RowSource property specifies a data source for the ListBox).
See also
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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin