Share via


_Global.ActiveDocument Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property ActiveDocument As Document
    Get
'Usage
Dim instance As _Global
Dim value As Document

value = instance.ActiveDocument
Document ActiveDocument { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Document

See Also

Reference

_Global Interface

_Global Members

Microsoft.Office.Interop.Word Namespace