HotXLS Docs

Row property

Returns the number of the first row in the range. Read-only Integer.

Syntax

property Row: Integer;

Example

This example sets the value of A1 cell to the number of the first row in the selection.

Workbook.Sheets[1].Range['A1', 'A1'].Value :=  Workbook.Sheets[1].Selection.Row;