_Global.ActiveDocument Property

Definition

Returns a Document object that represents the active document (the document with the focus). If there are no documents open, an error occurs.

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

Property Value

Applies to