SelText Property [Outlook 2003 Forms Help]

Returns or sets the selected text of a control.

Syntax

object.SelText [= String]

The SelText property syntax has these parts:

Part Description
object Required. A valid object.
String Optional. 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 the focus.

Applies to | ComboBox control | TextBox control