Window.DisplayHorizontalScrollBar property (Excel)

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

Syntax

expression.DisplayHorizontalScrollBar

expression A variable that represents a Window object.

Example

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

ActiveWindow.DisplayHorizontalScrollBar = True

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.