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