HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

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);
Copyright©2007-2019 loslab.com