Window.ShowScrollBars property (Visio)

Determines whether scroll bars are shown in the drawing window. Read/write.

Syntax

expression. ShowScrollBars

expression A variable that represents a Window object.

Return value

Integer

Remarks

The ShowScrollBars property value can be any combination of the following VisScrollbarStates constants, which are declared in the Visio type library. The default value is visScrollBarBoth, which shows both horizontal and vertical scroll bars.

Constant Value
visScrollBarNeither &H0
visScrollBarHoriz &H1
visScrollBarVert &H4
visScrollBarBoth &H5

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.