TextBox.ScrollBars Property

Access Developer Reference

You can use the ScrollBars property to specify whether scroll bars appear on a text box control. Read/write Byte.

Syntax

expression.ScrollBars

expression   A variable that represents a TextBox object.

Remarks

The ScrollBars property uses the following settings.

Setting Visual Basic Description
None 0 (Default) No scroll bars appear on the text box.
Vertical 2 Vertical scroll bar appears on the text box.