HotXLS-dokumentation

ActiveSheet egenskab

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

Syntaks

property ActiveSheet: TXLSWorksheet;

Eksempel

This example sets the name of the active sheet

Workbook.ActiveSheet.Name := 'NewName';