DocumentProperties.Parent property (Office)
Gets the Parent object for the DocumentProperties object. Read-only.
Syntax
expression.Parent
expression A variable that represents a DocumentProperties object.
Return value
Object
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
See also
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.