Skip to content

Latest commit

 

History

History
63 lines (33 loc) · 1.75 KB

PowerPoint.Presentation.SlideShowWindow.md

File metadata and controls

63 lines (33 loc) · 1.75 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.SlideShowWindow property (PowerPoint)
vbapp10.chm583047
vbapp10.chm583047
PowerPoint.Presentation.SlideShowWindow
9cef9c42-7a65-bd2e-3277-0145cd2cd3b9
06/08/2017
medium

Presentation.SlideShowWindow property (PowerPoint)

Returns a SlideShowWindow object that represents the slide show window in which the specified presentation is running. Read-only.

Syntax

expression. SlideShowWindow

expression A variable that represents a Presentation object.

Return value

SlideShowWindow

Remarks

Use this property in conjunction with the Me keyword and the Parent property to return the slide show window in which an ActiveX control event was fired, as shown in the example.

Example

The following example shows the Click event procedures for buttons named "cmdBack" and "cmdForward". If you add these buttons to the slide master and add these event procedures to them, all slides based on the master (and set to show master background graphics) will have these navigation buttons that will be active during a slide show. The Me keyword returns the Master object that represents the slide master that contains the control. If the control were on an individual slide, the Me keyword in an event procedure for that control would return a Slide object.

Private Sub cmdBack_Click()

    Me.Parent.SlideShowWindow.View.Previous

End Sub



Private Sub cmdForward_Click()

    Me.Parent.SlideShowWindow.View.Next

End Sub

See also

Presentation Object

[!includeSupport and feedback]