SlideShowWindow object (PowerPoint)

Represents a window in which a slide show runs.

Example

Use SlideShowWindows (index), where index is the slide show window index number, to return a single SlideShowWindow object. The following example activates slide show window two.

SlideShowWindows(2).Activate

Use the Run method to create a new slide show window and return a reference to this slide show window. The following example runs a slide show of the active presentation and reduces the height of the slide show window just enough so that you can see the taskbar (for monitors with a screen resolution of 800 by 600).

With ActivePresentation.SlideShowSettings

    .ShowType = ppShowTypeSpeaker

    With .Run

        .Height = 300

        .Width = 400

    End With

End With

Use the View property to return the view in the specified slide show window. The following example sets the view in slide show window one to display slide three in the presentation.

SlideShowWindows(1).View.GotoSlide 3

Use the Presentation property to return the presentation that's currently running in the specified slide show window. The following example displays the name of the presentation that's currently running in slide show window one.

MsgBox SlideShowWindows(1).Presentation.Name

Methods

Name
DrawLine
EndNamedShow
EraseDrawing
Exit
First
FirstAnimationIsAutomatic
GetClickCount
GetClickIndex
GotoClick
GotoNamedShow
GotoSlide
Last
Next
Player
Previous
ResetSlideTime

Properties

Name
AcceleratorsEnabled
AdvanceMode
Application
CurrentShowPosition
IsNamedShow
LaserPointerEnabled
LastSlideViewed
MediaControlsHeight
MediaControlsLeft
MediaControlsTop
MediaControlsVisible
MediaControlsWidth
Parent
PointerColor
PointerType
PresentationElapsedTime
Slide
SlideElapsedTime
SlideShowName
State
Zoom

See also

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.