Clears the cells in the specified range
Syntax
Example
This example clears values, formulae, comments, and formatting from a
temporary input area whilst leaving the rest of the worksheet unchanged
var
InputArea: IXLSRange;
begin
InputArea := Workbook.Worksheets[1].Range['A1', 'G37'];
InputArea.Clear;
InputArea.Cells[1, 1].Value := 'Ready for new data';
end;
See also