HotXLS dokumentacija

object that represents the previous sheet. Read-only

Example This example displays the name of the previous sheet This example displays the name of the previous sheet

Pavyzdys

This example displays the name of the previous sheet then This example displays the name of the previous sheet;

'The previous Worksheet name is "'

'"'

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