HotXLS Docs

Next property

Returns a TXLSWorksheet object that represents the next sheet. Read-only

Syntax

property Next: TXLSWorksheet;

Example

This example displays the name of the next sheet

if Assigned(Worksheet.Next) then
   MessageDlg('The next Worksheet name is "' + Worksheet.Next.Name + '"',
           mtInformation, [mbOk], 0);