Document Property (Page, ServObj, Shape objects)

Read-only. Gets the Document object that is associated with the document that contains an object from the Applies to list.

Applies to: Page object, ServObj object, Shape object

Syntax

[[Set] documentRet = ] object.Document

The Document property syntax has these parts:

Part Description
object Required. An expression that returns an object in the Applies to list.
documentRet Optional. A Document type variable.

Remarks

For shapes stored in a library this property always returns Nothing.

 

See Also

Page property, Parent property, Document object