HotXLS 文档

Select 方法

Selects the sheet

语法

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

示例

This example selects the Worksheet two

Workbook.Sheets[2].Select;