OlScrollBars enumeration (Outlook)

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.