Shapes.Range Property
Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Range ( _
Index As Object _
) As ShapeRange
Get
'Usage
Dim instance As Shapes
Dim Index As Object
Dim value As ShapeRange
value = instance.Range(Index)
ShapeRange this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectRequired Object. The individual shapes to be included in the range. Can be an integer that specifies the index number of the shape, a string that specifies the name of the shape, or an array that contains either integers or strings.
Property Value
Type: Microsoft.Office.Interop.Excel.ShapeRange