NativeExcel suite v2.x

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 © NikaSoft 2004-2011