Cells.DeleteRange

Cells.DeleteRange method

Deletes a range of cells and shift cells according to the shift option.

public void DeleteRange(int startRow, int startColumn, int endRow, int endColumn, 
    ShiftType shiftType)
ParameterTypeDescription
startRowInt32Start row index.
startColumnInt32Start column index.
endRowInt32End row index.
endColumnInt32End column index.
shiftTypeShiftTypeShift cells option.

See Also