Shapes.Item Method
PowerPoint Developer Reference |
Returns a single Shape object from the specified Shapes collection.
Syntax
expression.Item(Index)
expression A variable that represents a Shapes object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Index | Required | Variant | The name or index number of the single Shape object in the collection to be returned. |
Return Value
Shape
Example
This example sets the foreground color to red for the shape named "Rectangle 1" on slide one in the active presentation.
Visual Basic for Applications |
---|
|
See Also