Export (0) Print
Expand All

_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:
© 2014 Microsoft