6.1.3.1.2.2 Remove

Function Declaration

 Sub Remove(Index As Variant) 

Parameter

Description

Index

An expression that specifies the position of a member of the collection. If a numeric expression, Index MUST be a number from 1 to the value of the collection's Count property. If a String expression, Index MUST correspond to the Key argument specified when the member referred to was added to the collection.

Runtime Semantics.

§ Removes a member from a Collection object.

§ If the value provided as Index doesn’t match an existing member of the collection, an error occurs.