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

Select method

Selects the sheet.

Syntax

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

Example

This example selects the Worksheet two.

Workbook.Sheets[2].Select;
Copyright©2007-2019 loslab.com