Form.ScrollBars property (Access)
Use the ScrollBars property to specify whether scroll bars appear on a form. Read/write Byte.
Syntax
expression.ScrollBars
expression A variable that represents a Form object.
Remarks
The ScrollBars property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
Neither | 0 | No scroll bars appear on the form. |
Horizontal Only | 1 | A horizontal scroll bar appears on the form. |
Vertical Only | 2 | A vertical scroll bar appears on the form. |
Both | 3 | (Default) Vertical and horizontal scroll bars appear on the form. |
If your form is larger than the available display window, you can use the ScrollBars property to allow the user to view the entire form.
Use the NavigationButtons property to control record navigation.
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.