## InsertRange(GridCellArea, GridShiftType) {#insertrange}

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

```csharp
public void InsertRange(GridCellArea area, GridShiftType shiftType)
```

| Parameter | Type | Description |
| --- | --- | --- |
| area | GridCellArea | Shift area. |
| shiftType | GridShiftType | Shift cells option. |

### See Also

* class [GridCellArea](../../gridcellarea/)
* enum [GridShiftType](../../gridshifttype/)
* class [GridCells](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)

---

## InsertRange(GridCellArea, int, GridShiftType, bool) {#insertrange_1}

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

```csharp
public void InsertRange(GridCellArea area, int shiftNumber, GridShiftType shiftType, 
    bool updateReference)
```

| Parameter | Type | Description |
| --- | --- | --- |
| area | GridCellArea | Shift area. |
| shiftNumber | Int32 | Number of rows or columns to be inserted. |
| shiftType | GridShiftType | Shift cells option. |
| updateReference | Boolean | Indicates if update references in other worksheets. |

### See Also

* class [GridCellArea](../../gridcellarea/)
* enum [GridShiftType](../../gridshifttype/)
* class [GridCells](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


