InSelection Property

       

Returns or assigns a control's selection state.

Syntax

object.InSelection

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

If the InSelection property of a control contained within another control is set to True, then any controls not within that control (or any controls within other controls) will be unselected.