DisplayHorizontalScrollBar Property

Applies To

Window object.

Description

True if a horizontal scroll bar is displayed for the specified window. Read/write Boolean.

See Also

DisplayScrollBars property, DisplayVerticalScrollBar property.

Example

This example displays vertical and horizontal scroll bars for the active window.

With ActiveWindow
    .DisplayHorizontalScrollBar = True
    .DisplayVerticalScrollBar = True
End With
This example toggles the horizontal scroll bar of the window for Document1.

Set aWin = Windows("Document1")
aWin.DisplayHorizontalScrollBar = Not aWin.DisplayHorizontalScrollBar