Partager via


SlideShowSettings.ShowScrollbar Property (PowerPoint)

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

Syntax

expression .ShowScrollbar

expression A variable that represents a SlideShowSettings object.

Return Value

MsoTriState

Remarks

Use the ShowType property prior to setting the ShowScrollbar property.

The value of the ShowScrollbar property can be one of these MsoTriState constants.

msoFalse

msoTrue

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

See Also

Concepts

SlideShowSettings Object Members

SlideShowSettings Object