Parent Property (DocumentProperty Object)

Description

Accessor. Returns the parent object for the specified object. Read-only.

To use this property, you should establish a reference to the Microsoft Office 95 Object Library by using the References command (Tools menu).

Example

This example displays the name of the parent for a document property. You must pass a DocumentProperty object to the procedure.


Sub DisplayParent(dp as DocumentProperty)
    MsgBox dp.Parent.Name
End Sub