Selection property



Selects the referenced range or returns the range that is selected.

Syntax

Set:     Sheet.setSelection(selRange)
Get:     selRange = Sheet.getSelection

Applies to

Sheet object.

Data type

Range. The range that is selected (for a get) or is to be selected (for a set).

Return value

none.

Usage

After you get the selected range, call StartColumn(), StartRow(), EndColumn(), and EndRow to determine the range coordinates.

See also
scrollTo method