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