Document::Application property
The Application property returns the object that represents the document's parent application. This property is read-only.
Syntax
Property Application As Application
Property value
The Application object for the document's parent.
Examples
' Obtain the application object for the document.
Dim objApp As MMC20.Application
Set objApp = objDoc.Application
' Use the application object.
' ...
' When done, free the application object.
Set objApp = Nothing
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_Document |