DisplayVerticalScrollBar Property

Microsoft Office Web Components Visual Basic

True if the vertical scroll bar on the specified spreadsheet is displayed. The default value is True. Read/write Boolean.

expression.DisplayVerticalScrollBar

expression    Required. An expression that returns a Window object.

Example

This example hides the spreadsheet’s vertical scrollbar.

Spreadsheet1.ActiveWindow.DisplayVerticalScrollBar = False