HotXLS Docs

Previous property

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

Syntax

property Previous: TXLSWorksheet;

Example

This example displays the name of the previous sheet

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