Table of contents
Collapse the table of content
Expand the table of content

SelText Property

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns or sets the selected text of a control. Syntaxobject. SelText [= String ] The SelText property syntax has these parts:

objectRequired. A valid object.
StringOptional. A string expression containing the selected text.

Remarks If no characters are selected in the edit region of the control, the SelText property returns a zero length string. This property is valid regardless of whether the control has thefocus.

© 2018 Microsoft