Collection.Remove (index)

Removes a member from a Collection object.

Required. An object expression that evaluates to an object in the Applies To list.

The position of the member to remove
Required. 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.

If the value provided as index doesn't match an existing member of the collection, an error occurs.

Once a collection is created, members can be removed using the Remove method

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext