DisplayVerticalScrollBar Property

Microsoft Excel Visual Basic

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

Example

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

ActiveWindow.DisplayVerticalScrollBar = True