插入范围

介绍

在 Excel 中,您可以选择一个范围,然后插入一个范围并将其他数据右移或下移。

Shift 选项

使用 Aspose.Cells 插入范围

Aspose.Cells提供Cells.InsertRange插入范围的方法。

插入范围并右移 Cells

如下代码用Aspose.Cells插入一个range和shift单元格:

插入范围并向下移动 Cells

使用 Aspose.Cells 插入一个范围并向下移动单元格,如下代码: