DisplayVerticalScrollBar Property

Applies To

Window object.

Description

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

See Also

DisplayHorizontalScrollBar property, DisplayScrollBars property.

Example

This example displays the vertical and horizontal scroll bars for each window in the Windows collection.

For Each myWindow In Windows
    myWindow.DisplayVerticalScrollBar = True
    myWindow.DisplayHorizontalScrollBar = True
Next myWindow
This example toggles the vertical scroll bar for the active window.

Set aWindow = ActiveWindow
aWindow.DisplayVerticalScrollBar = Not aWindow.DisplayVerticalScrollBar