This documentation is archived and is not being maintained.

_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)

Document ActiveDocument { get; }

The active document is the document with the focus.

If there are no documents open, an error occurs.

Show: