NewWindow Method

See Also         Example         Applies To

Opens a new window with the same document as the specified window. Returns a Window object.

Note   A colon (:) and a number appear in the window caption when more than one window is open for a document.

Syntax

expression.NewWindow

expression   Required. An expression that returns an Application or Window object.

Remarks

If the NewWindow method is used with the Application object, a new window is opened for the active window. The following two instructions are functionally equivalent.

Set myWindow = ActiveDocument.ActiveWindow.NewWindow
Set myWindow = NewWindow