Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.07 KB

PowerPoint.DocumentWindow.NewWindow.md

File metadata and controls

50 lines (28 loc) · 1.07 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DocumentWindow.NewWindow method (PowerPoint)
vbapp10.chm511019
vbapp10.chm511019
PowerPoint.DocumentWindow.NewWindow
1c9f4e37-4e40-8d0b-246b-f9897ad9a56a
06/08/2017
medium

DocumentWindow.NewWindow method (PowerPoint)

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

Syntax

expression.NewWindow

expression A variable that represents a DocumentWindow 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

DocumentWindow Object

[!includeSupport and feedback]