ShowScrollbar Property

Microsoft PowerPoint Visual Basic

Show All

ShowScrollbar Property

       

MsoTrue to display the scroll bar during a slide show in browse mode. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue Not used with this property.
msoFalse
msoTriStateMixed Not used with this property.
msoTriStateToggle Not used with this property.
msoTrue

expression.ShowScrollbar

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

Use the ShowType property prior to setting the ShowScrollbar property.

Example

This example specifies to display the slide show for the active presentation in a window and displays a scrollbar used for browsing through the slides during a slide show.

Sub ShowSlideShowScrollBar()
    With ActivePresentation.SlideShowSettings
        .ShowType = ppShowTypeWindow
        .ShowScrollBar = msoTrue
    End With
End Sub