Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
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.