title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
GroupShapes.Item method (Excel) |
vbaxl10.chm642074 |
|
|
2f664b81-d870-7936-6dff-0eef163c2e03 |
04/26/2019 |
medium |
Returns a single object from a collection.
expression.Item (Index)
expression A variable that represents a GroupShapes object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | Variant | The name or index number for the object. |
A Shape object contained by the collection.
This example sets the OnAction property for shape two in a shape range. If the sr
variable doesn't represent a ShapeRange object, this example fails.
Dim sr As Shape
sr.Item(2).OnAction = "ShapeAction"
[!includeSupport and feedback]