Remove method (Microsoft Forms)
Removes a member from a collection or removes a control from a Frame, Page, or form.
Syntax
object.Remove (collectionindex)
The Remove method syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
collectionindex | Required. A member's position, or index, within a collection. Numeric as well as string values are acceptable. If the value is a number, the minimum value is zero, and the maximum value is one less than the number of members in the collection. If the value is a string, it must correspond to a valid member name. |
Remarks
This method deletes any control that was added at run time. However, attempting to delete a control that was added at design time will result in an error.
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