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.