
## add(self, name) {#System.String}

Adds a scenario.


### Returns 


The index in the list of scenarios.


```python

def add(self, name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | System.String | The name of scenario. |



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