DisplayVerticalScrollBar Property

Microsoft Excel Visual Basic

DisplayVerticalScrollBar Property

       

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