HotXLS-dokumentation

ActiveSheet egenskap

Returnerar an object that represents the active sheet in the specified Workbook. Returnerar 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

Syntax

property ActiveSheet: TXLSWorksheet;

Exempel

This example sets the name of the active sheet

Workbook.ActiveSheet.Name := 'NewName';