HotXLS Docs

Selection property

Returns the selected range in the specified Worksheet. When the worksheet has multiple selected areas, this property returns the active selected area.

Syntax

property Selection: IXLSRange;

Example

This example clears the selection on the first sheet.

Workbook.Sheets[1].Selection.Clear;

See also