DisplayHorizontalScrollBar Property

Microsoft Office Web Components Visual Basic

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

expression.DisplayHorizontalScrollBar

expression    Required. An expression that returns a Window object.

Example

This example hides the horizontal scroll bar on the spreadsheet.

Spreadsheet1.ActiveWindow.DisplayHorizontalScrollBar = False