Cut and Paste Cells

Cut and Paste Cells

Aspose.Cells for Python via Java provides the ability to cut and paste cells. For this, the API provides the insertCutCells method of the Cells collection. The insertCutCells method 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 code snippet demonstrates how to cut and paste cells within a worksheet.