Window.DisplayHorizontalScrollBar Property (Word)
True if a horizontal scroll bar is displayed for the specified window. Read/write Boolean.
Syntax
expression .DisplayHorizontalScrollBar
expression A variable that represents a Window object.
Example
This example displays vertical and horizontal scroll bars for the active window.
With ActiveDocument.ActiveWindow
.DisplayHorizontalScrollBar = True
.DisplayVerticalScrollBar = True
End With
This example toggles the horizontal scroll bar of the window for Document1.
Dim winTemp As Window
Set winTemp = Windows("Document1")
winTemp.DisplayHorizontalScrollBar = _
Not winTemp.DisplayHorizontalScrollBar