ActiveDocument Property

The ActiveDocument property returns the active document object. This is a read-only property.

 

Syntax

object.ActiveDocument

 

Example

This example demonstrates how to return the active document.

 

Debug.Print mvApp.ActiveDocument

 

Used by: Application object