Skip to main content

TdxSpreadSheetTableView.ClearCellValues Method

Clears all values from the current cell selection.

Declaration

procedure ClearCellValues;

Remarks

Call this procedure to delete values in all selected cells and cell ranges. The procedure neither restores the default cell style nor releases the underlying cell objects in the cell selection areas.

Note

A ClearCellValues procedure call has no effect if the CanClearCells function returns False or the cell selection is empty. The procedure raises the EdxSpreadSheetCannotChangePartOfArrayError exception if at least one selected cell range intersects an array formula‘s result area.

See Also