Shape.IsGroupMember property (Publisher)
Returns True if the specified shape is a member of a group; otherwise, False. Read-only Boolean.
Syntax
expression.IsGroupMember
expression A variable that represents a Shape object.
Return value
Boolean
Remarks
The object returned by the ParentGroupShape property can be used to determine the parent shape for the group.
Example
The following statement can be used to return a True value if the first shape of the active publication is a group member.
blnGrouped = Application.ActiveDocument.MasterPages _
.Item.Shapes(1).IsGroupMember
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for