SlideShowWindows Object
TOC
Collapse the table of content
Expand the table of content

SlideShowWindows Object (PowerPoint)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

A collection of all the SlideShowWindow objects that represent the open slide shows in Microsoft PowerPoint.

Use the SlideShowWindows property to return the SlideShowWindows collection. Use SlideShowWindows(index), where index is the window index number, to return a single SlideShowWindow object. The following example reduces the height of slide show window one if it is a full-screen window.

With SlideShowWindows(1)

    If .IsFullScreen Then

        .Height = .Height - 20

    End If

End With

Use the Run method to create a new slide show window and add it to the SlideShowWindows collection. The following example runs a slide show of the active presentation.

ActivePresentation.SlideShowSettings.Run
Show:
© 2016 Microsoft