Share via


TextBox.MaxLength Property (Outlook Forms Script)

Returns or sets a Long that specifies the maximum number of characters a user can enter in a TextBox. Read/write.

Syntax

expression .MaxLength

expression A variable that represents a TextBox object.

Remarks

Setting the MaxLength property to 0 indicates there is no limit other than that created by memory constraints.