SlideShowWindows Object

PowerPoint Developer Reference

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

Example

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.

Visual Basic for Applications
  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.

Visual Basic for Applications
  ActivePresentation.SlideShowSettings.Run

See Also