NativeExcel suite v1.x

Select method

Selects the sheet.

Syntax

procedure Select;
procedure Select(Replace: boolean);
procedure Select(Replace: boolean; lcid: integer);
ReplaceBoolean. True if you want to deselect previously selected sheets. Default is true;
lcidInteger. The locale ID.

Example

This example selects the worksheet two.
WorkBook.Sheets[2].Select;
Copyright © NikaSoft 2004-2012