Parent Property
Applies To
Assistant object, Balloon object, BalloonCheckbox object, BalloonCheckboxes collection object, BalloonLabel object, BalloonLabels collection object, CommandBar object, CommandBarButton object, CommandBarComboBox object, CommandBarControl object, CommandBarControls collection object, CommandBarPopup object, CommandBars collection object, DocumentProperties collection object, DocumentProperty object.
Description
Returns the parent object for the specified object. Read-only.
Example
This example displays the name of the parent object for a document property. You must pass a valid DocumentProperty object to the procedure.
Sub DisplayParent(dp as DocumentProperty)
MsgBox dp.Parent.Name
End Sub