## Insert(int, string) {#insert}

Insert a worksheet.

```csharp
public Worksheet Insert(int index, string sheetName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | The sheet index |
| sheetName | String | The sheet name. |

### Return Value

Returns an inserted worksheet.

### See Also

* class [Worksheet](../../worksheet/)
* class [WorksheetCollection](../)
* namespace [Aspose.Cells.GridDesktop](../../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../../)

---

## Insert(int) {#insert_1}

Inserts an worksheet into the WorksheetCollection at the specified index. This worksheet row count is 256,column count is 32. The worksheet name will be generated by Add() method.

```csharp
public void Insert(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | The zero-based index at which worksheet should be inserted. |

### Return Value

Return Worksheet object is added.

### See Also

* class [WorksheetCollection](../)
* namespace [Aspose.Cells.GridDesktop](../../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../../)


