Documentazione HotXLS

Select metodo

Selects the cells in the specified range

Sintassi

procedura Select;

Esempio

This example activates the worksheet e selects the data-entry area so Excel opens with the expected cells highlighted

var
  Sheet: TXLSWorksheet;
begin
  Sheet := Workbook.Sheets[1];
  Sheet.Activate;
  Sheet.Range['A1', 'B3'].Select;
  Workbook.SaveAs('C:\Reports\data-entry.xls');
end;

Vedere also