TextBox.Vertical property (Access)

Use the Vertical property to set a form control for vertical display and editing, or to set a report control for vertical display and printing. Read/write Boolean.

Syntax

expression.Vertical

expression A variable that represents a TextBox object.

Remarks

The Vertical property uses the following settings.

Setting Visual Basic Description
Yes True Displays, edits, and prints vertical text.
No False (Default) Does not display, edit, or print vertical text.

You can specify how vertical text will be displayed, edited, or printed in the control by setting the Vertical property. If set to Yes, the starting point for inputting text is the upper-right corner of the control (the ending point is the lower-left corner of the control).

If using full pitch characters, the display and print directions are the same as the control for horizontal text. If using half pitch characters, it shifts 90 degrees to the right. The cursor is also rotated 90 degrees to the right in a vertical text control.

Text selection using key combinations is different for vertical text control and horizontal text control. Key combinations and their effect on range selection are described in the following table.

Key combination Vertical text control Horizontal text control
Shift+Up One character before the cursor. One line before the cursor.
Shift+Down One character after the cursor. One line after the cursor.
Shift+Right One line after the cursor. One character before the cursor.
Shift+Left One line before the cursor. One character after the cursor.

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.