NewWindow Method
Applies To
DocumentWindow object, Presentation object.
Description
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.
Syntax
expression.NewWindow
expression Required. An expression that returns a DocumentWindow or Presentation object.
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