Docs HotXLS

ActiveSheet-property

Renvoie an object that represents the active sheet in the specified Workbook. Returns Nothing if no sheet is active. Read-only. Use ActiveSheetIndex or Activate to choose the active sheet, and use FirstSheet to choose the first visible tab in the workbook tab bar

Syntaxe

property ActiveSheet: TXLSWorksheet;

Exemple

This example sets the name of the active sheet

Workbook.ActiveSheet.Name := 'NewName';