deletecells
Delete cells, shifting remaining cells.
Syntax
Section titled “Syntax”deletecells(cr)deletecells(cr, direction)Description
Section titled “Description”Removes the cells in cr, shifting subsequent cells in the chosen direction ('left', 'up', default 'left').
Example
Section titled “Example”deletecells(B2:B5, 'up')See also
Section titled “See also”insertcells— Insert empty cells, shifting existing cells.clearcells— Clear cell contents while preserving the cells themselves.deleterows— Delete entire rows.deletecols— Delete entire columns.