OlScrollBars Enumeration (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies which, if any, scroll bars to display for a control.

Name

Value

Description

olScrollBarsBoth

3

Display both the horizontal and vertical scroll bars as necessary.

olScrollBarsHorizontal

1

Display a horizontal scroll bar only.

olScrollBarsNone

0

Display no scroll bars.

olScrollBarsVertical

2

Display a vertical scroll bar only.

Show: