HotXLS Docs

Selection property

Returns the selected range in the specified Worksheet.

Syntax

property Selection: IXLSRange;

Example

This example clears the selection on the first sheet.

Workbook.Sheets[1].Selection.Clear;