Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.