Selects the cells in the specified range.
Syntax
Example
This example activates the worksheet and selects the data-entry area so
Excel opens with the expected cells highlighted.
var
Sheet: IXLSWorksheet;
begin
Sheet := Workbook.Sheets[1];
Sheet.Activate;
Sheet.Range['A1', 'B3'].Select;
Workbook.SaveAs('C:\Reports\data-entry.xls');
end;
See also