Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.64 KB

PowerPoint.DocumentWindow.Presentation.md

File metadata and controls

56 lines (31 loc) · 1.64 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DocumentWindow.Presentation property (PowerPoint)
vbapp10.chm511005
vbapp10.chm511005
PowerPoint.DocumentWindow.Presentation
f009e2c3-aa08-09f0-c879-a25b8d1e0405
06/08/2017
medium

DocumentWindow.Presentation property (PowerPoint)

Returns a Presentation object that represents the presentation in which the specified document window or slide show window was created. Read-only.

Syntax

expression. Presentation

expression A variable that represents a DocumentWindow object.

Return value

Presentation

Remarks

If the slide that's currently displayed in document window one is from an embedded presentation, Windows(1).View.Slide.Parent returns the embedded presentation, and Windows(1).Presentation returns the presentation in which document window one was created.

If the slide that's currently displayed in slide show window one is from an embedded presentation, SlideShowWindows(1).View.Slide.Parent returns the embedded presentation, and SlideShowWindows(1).Presentation returns the presentation in which the slide show was started.

Example

This example continues the slide numbering for the presentation in window one into the slide numbering for the presentation in window two.

firstPresSlides = Windows(1).Presentation.Slides.Count

Windows(2).Presentation.PageSetup _
    .FirstSlideNumber = firstPresSlides + 1

See also

DocumentWindow Object

[!includeSupport and feedback]