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

Next property

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

Syntax

property Next: IXLSWorksheet;

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