HotXLS Documentation

Selection property

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

Syntax

property Selection: IXLSRange;

Example

This example clears the selection on the first sheet

Workbook.Sheets[1].Selection.Clear;

See also