.TextBoxSelection.Length

PROPERTY READ Length AS Integer

Returns the length of the current selected text, or 0 if no text is selected.

Referenced by: