DisplayScrollBars Property
Applies To
Application object.
Description
True if Word displays a scroll bar in at least one document window. False if there are no scroll bars displayed in any window. Read/write Boolean.
Remarks
Setting the DisplayScrollBars property to True displays horizontal and vertical scroll bars in all windows. Setting this property to False turns off all scroll bars in all windows.
Use the DisplayHorizontalScrollBar and DisplayVerticalScrollBar properties to display individual scroll bars in the specified window.
See Also
DisplayHorizontalScrollBar property, DisplayStatusBar property, DisplayVerticalScrollBar property.
Example
This example displays horizontal and vertical scroll bars in all windows.
Application.DisplayScrollBars = True
This example returns True if there's a scroll bar currently displayed in any window.
temp = Application.DisplayScrollBars