_Application.ActiveWindow Property
Returns a Window object that represents the active window.
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 _Application
Dim value As Window
value = instance.ActiveWindow
Window ActiveWindow { get; }
Property Value
Type: Microsoft.Office.Interop.Word.Window
Remarks
The active window is the window with the focus.
If there are no windows open, an error occurs.