HotXLS-dokumentaatio
Sisältö
Etusivu
Yleiskatsaus
TGridToXLS
IXLSWorkbook
Etusivu
Sisältö
Yleiskatsaus
Activate metodi
Makes the specified sheet the active sheet. Equivalent to clicking the sheet's tab
Syntaksi
procedure Activate;
Esimerkki
This example creates a summary sheet, makes it the active sheet, and
saves the workbook so Excel opens on that sheet
var
Summary: TXLSWorksheet;
begin
Summary := Workbook.Worksheets.Add;
Summary.Name := 'Summary';
Summary.Range['A1', 'A1'].Value := 'Monthly summary';
Summary.Activate;
Workbook.SaveAs('C:\Reports\summary.xls');
end;
Katso myös
IXLSWorkbook.ActiveSheetominaisuus
TXLSWorksheet.Selectmetodi
TXLSWorksheets.Addmetodi
Copyright © 2010-2026 losLab Software