Documentazione HotXLS

ActiveSheet proprietà

Restituisce an object that represents the active sheet in the specified Workbook. Restituisce Nothing if no sheet is active. Read-only. Usa ActiveSheetIndex o Activate to choose the active sheet, e use FirstSheet to choose the first visible tab in the workbook tab bar

Sintassi

proprietà ActiveSheet: TXLSWorksheet;

Esempio

This example sets the name of the active sheet

Workbook.ActiveSheet.Name := 'NewName';