TextBox.TextLength Property (Outlook Forms Script)

Returns a Long that represents the length, in number of characters, of text in the edit region of a TextBox. Read-only.

Syntax

expression.TextLength

expression A variable that represents a TextBox object.

Remarks

For a multiline TextBox, TextLength includes LF (line feed) and CR (carriage return) characters.

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.