Item Method (OLEObjects Collection)
Applies To
OLEObjects collection object.
Description
Returns a single OLEObject object from an OLEObjects collection.
Syntax
expression.Item(Index)
expression Required. An expression that returns an OLEObjects object.
Index Required Variant. The index number of the OLEObject object.
Example
This example deletes OLE object one from Sheet1.
Worksheets("Sheet1").OLEObjects.Item(1).Delete