Skip to main content

Delete cells

Delete the cells of a range, or of the current selection, and close the gap by moving the cells below up or the cells to the right left.

Command in the Excel toolkit · id ooa.excel/delete_cells · 4 inputs, no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
RangeStringNoCell or range to delete; when empty, the range chosen by select_range or the cell chosen by go_to_cell (the sheet's active cell).
ShiftStringNoupup or left moves the remaining cells into the gap; entire_row or entire_column deletes the whole rows or columns the range touches.
SheetStringNoSheet name; active sheet when empty.
SessionStringNoexcelWorkbook session.