Expand Minimize

Application.DisplayScrollBars Property (Word)

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.

expression .DisplayScrollBars

expression A variable that represents an Application object.

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.

This example displays horizontal and vertical scroll bars in all windows.

Application.DisplayScrollBars = True

This example returns True if there is a scroll bar currently displayed in any window.

Dim blnTemp As Boolean 
 
blnTemp = Application.DisplayScrollBars
Show:
© 2014 Microsoft