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

SlideShowSettings Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.