Cut and Paste Ranges

Cut and Paste Cells

Aspose.Cells provides you with the ability to cut and paste cells within a worksheet by using the insertCutCells method of the Cells collection. The insertCutCells accepts the following parameters.

  • Range: The range of cells to be cut.
  • Row Index: The index of the row to insert cells.
  • Column Index: The index of the column to insert cells.
  • ShiftType: The shift direction of the columns.

The following example shows how to cut and paste cells within a worksheet.

Sample Code