_Application::ActiveDocument property

Returns a Document object that represents the active document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

No code example is currently available or this language may not be supported.

The active document is the document with the focus.

If there are no documents open, an error occurs.

Show: