Remove Method

Remove Method

See Also         Example         Applies To        

Removes a member from a collection; or, removes a control from a Frame, or Page.

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.