Remove method (Elements)

         

Remove the Element corresponding to the supplied key

Syntax

object.Remove Key

The Remove method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type Elements.
KeyRequired. A Variant value. A string or numeric representing the key or index of the required element of the collection