Window.DisplayVerticalScrollBar property (Excel)

True if the vertical scroll bar is displayed. Read/write Boolean.

Syntax

expression.DisplayVerticalScrollBar

expression A variable that represents a Window object.

Example

This example turns on the vertical scroll bar for the active window.

ActiveWindow.DisplayVerticalScrollBar = True

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.