Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

SlideShowWindow Object

Office 2007
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.

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

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

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

Visual Basic for Applications
MsgBox SlideShowWindows(1).Presentation.Name



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.