HotXLS Docs

Index property

Returns the index number of the Worksheet within the Sheets/Worksheets collection. Read-only Word.

Syntax

property Index: Word;

Example

This example displays the tab number of the specified sheet.

MessageDlg('This sheet is tab number ' + inttostr(Worksheet.Index),
           mtInformation, [mbOk], 0);