Clears the values of specified columns in a range of specified rows.
The worksheet containing the rows and columns.
An array of row numbers to be cleared (e.g., [5, 6, 10]).
Optional
An optional array of column identifiers to clear. If not provided, all cells in the row will be cleared.
cleanRows(worksheet, [5, 6, 10]);cleanRows(worksheet, [5, 6, 10], ['C', 'D', 'E']); Copy
cleanRows(worksheet, [5, 6, 10]);cleanRows(worksheet, [5, 6, 10], ['C', 'D', 'E']);
Clears the values of specified columns in a range of specified rows.