HotXLS-dokumentation
Indhold
Startside
Oversigt
TGridToXLS
IXLSWorkbook
Startside
Indhold
Oversigt
Clear metode
Clears the cells in the specified range
Syntaks
procedure Clear;
Eksempel
This example clears values, formulas, comments, and formatting from a
temporary input area while leaving the rest of the worksheet unchanged
Use ClearContents
when only cell values should be removed
var
InputArea: IXLSRange;
begin
InputArea := Workbook.Worksheets[1].Range['A1', 'G37'];
InputArea.Clear;
InputArea.Cells[1, 1].Value := 'Ready for new data';
end;
Se også
IXLSRange.ClearContentsmetode
IXLSRange.ClearCommentsmetode
IXLSRange.ClearOutlinemetode
Copyright © 2010-2026 losLab Software