This documentation is archived and is not being maintained.

_Document.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)

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

value = instance.ActiveWindow

The active window is the window with the focus.

If there are no windows open, an error occurs.

Show: