_Global.ActiveWindow Property

Returns a Window object that represents the active window (the window with the focus).

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

Syntax

'Declaration
ReadOnly Property ActiveWindow As Window
    Get
'Usage
Dim instance As _Global
Dim value As Window

value = instance.ActiveWindow
Window ActiveWindow { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Window

Remarks

If there are no windows open, an error occurs.

See Also

Reference

_Global Interface

_Global Members

Microsoft.Office.Interop.Word Namespace