_Application.ActiveDocument _Application.ActiveDocument _Application.ActiveDocument Property

Definition

Returns a Document object that represents the active document.

public:
 property Microsoft::Office::Interop::Word::Document ^ ActiveDocument { Microsoft::Office::Interop::Word::Document ^ get(); };
public Microsoft.Office.Interop.Word.Document ActiveDocument { get; }
Public ReadOnly Property ActiveDocument As Document

Property Value

Remarks

The active document is the document with the focus.

If there are no documents open, an error occurs.

Applies to