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.

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.