Share via


Presentation.NewWindow Method (PowerPoint)

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

Syntax

expression .NewWindow

expression A variable that represents a Presentation object.

Return Value

DocumentWindow

Example

This example creates a new window that contains the contents of the active window (thereby activating the new window) and then switches back to the first window.

Set oldW = Application.ActiveWindow

Set newW = oldW.NewWindow

oldW.Activate

See Also

Concepts

Presentation Object Members

Presentation Object