SlideShowWindows Collection Object

Microsoft PowerPoint Visual Basic

ApplicationSlideShowWindows
SlideShowWindow
Multiple objects

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

Using the SlideShowWindows Collection

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's 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