
## swap_sheet(self, sheet_index1, sheet_index2) {#int-int}

Swaps the two sheets.



```python

def swap_sheet(self, sheet_index1, sheet_index2):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| sheet_index1 | int | The first worksheet. |
| sheet_index2 | int | The second worksheet. |



### See Also
* module [`aspose.cells`](../../)
* class [`WorksheetCollection`](/cells/python-net/aspose.cells/worksheetcollection)
