Window.DisplayVerticalScrollBar Property

Excel Developer Reference

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.

Visual Basic for Applications
  ActiveWindow.DisplayVerticalScrollBar = True

See Also