ShapeRange.ParentGroup Property
Returns a Shape object that represents the common parent shape of a child shape or a range of child shapes.
Syntax
expression.ParentGroup
expression A variable that represents a ShapeRange object.
Example
In this example, Microsoft Excel adds two shapes to the active worksheet and then removes both shapes by deleting the parent shape of the group.
| Visual Basic for Applications |
|---|
|