ShapeRange.Item Method
Returns a single object from a collection.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Item ( _
Index As Object _
) As Shape
'Usage
Dim instance As ShapeRange
Dim Index As Object
Dim returnValue As Shape
returnValue = instance.Item(Index)
Shape Item(
Object Index
)
Parameters
Index
Type: System.ObjectRequired Object. The name or index number for the object.
Return Value
Type: Microsoft.Office.Interop.Excel.Shape
Remarks
The text name of the object is the value of the Name and Value properties.