Visual Basic Reference

Clear Method (ActiveX Controls)

See Also   Example   Applies To

Removes all objects in a collection.

Syntax

*object.*Clear

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

To remove only one object from a collection, use the Remove method.