Share via


NewWindow Method

Presentation object: Opens a new window that contains the specified presentation. Returns a DocumentWindow object that represents the new window.

DocumentWindow object: Opens a new window that contains the same document that's displayed in the specified window. Returns a DocumentWindow object that represents the new window.

expression**.NewWindow**

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

This example creates a new window with the contents of the active window (this activates the new window) and then switches back to the first window.

Set oldW = Application.ActiveWindow
Set newW = oldW.NewWindow
oldW.Activate

Applies to | DocumentWindow Object | Presentation Object