WindowNumber Property Example
This example retrieves the window number of the active window, opens a new window, and then activates the original window.
windowNum = ActiveDocument.ActiveWindow.WindowNumber NewWindow ActiveDocument.Windows(windowNum).Activate