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 where cells will be inserted.
  • Column Index: The index of the column where cells will be inserted.
  • ShiftType: The shift direction for the columns.

The following code snippet demonstrates how to cut and paste cells within a worksheet.