NativeExcel suite v2.x

Previous property

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

Syntax

property Previous: IXLSWorkSheet;

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);
Copyright © NikaSoft 2004-2012