Skip to content

Commit

Permalink
Merge pull request #1486 from JonMarkPerry/patch-1
Browse files Browse the repository at this point in the history
Update PowerPoint.GroupShapes.md
  • Loading branch information
lindalu-MSFT authored Jan 19, 2022
2 parents b5276ea + 544fefe commit 414ce1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/PowerPoint.GroupShapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ ms.localizationpriority: medium

# GroupShapes object (PowerPoint)

Represents the individual shapes within a grouped shape. Each shape is represented by a **[Shape](PowerPoint.Shape.md)** object. Using the [Item](PowerPoint.GroupShapes.Item.md)method with this object, you can work with single shapes within a group without having to ungroup them.
Represents the individual shapes within a grouped shape. Each shape is represented by a **[Shape](PowerPoint.Shape.md)** object. Using the [Item](PowerPoint.GroupShapes.Item.md) method with this object, you can work with single shapes within a group without having to ungroup them.


## Example

Use the [GroupItems](PowerPoint.Shape.GroupItems.md)property to return the **GroupShapes** collection. Use **GroupItems** (_index_), where _index_ is the number of the individual shape within the grouped shape, to return a single shape from the **GroupShapes** collection. The following example adds three triangles to _myDocument_, groups them, sets a color for the entire group, and then changes the color for the second triangle only.
Use the [GroupItems](PowerPoint.Shape.GroupItems.md) property to return the **GroupShapes** collection. Use **GroupItems** (_index_), where _index_ is the number of the individual shape within the grouped shape, to return a single shape from the **GroupShapes** collection. The following example adds three triangles to _myDocument_, groups them, sets a color for the entire group, and then changes the color for the second triangle only.


```vb
Expand Down Expand Up @@ -48,4 +48,4 @@ End With

[PowerPoint Object Model Reference](overview/PowerPoint/object-model.md)

[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]

0 comments on commit 414ce1a

Please sign in to comment.