HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

ActiveSheet property

Returns an object that represents the active sheet in the specified Workbook. Returns Nothing if no sheet is active. Read-only.

Syntax

property ActiveSheet: IXLSWorksheet;

Example

This example sets the name of the active sheet.

Workbook.ActiveSheet.Name := 'NewName';
Copyright©2007-2019 loslab.com