Skip to content

Files

Latest commit

 

History

History
50 lines (28 loc) · 1.02 KB

PowerPoint.Presentation.NewWindow.md

File metadata and controls

50 lines (28 loc) · 1.02 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.NewWindow method (PowerPoint)
vbapp10.chm583029
vbapp10.chm583029
PowerPoint.Presentation.NewWindow
2c4e4d63-ccef-ae98-0676-fa231dec1e8c
06/08/2017
medium

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

Presentation Object

[!includeSupport and feedback]