0 out of 1 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ