
## add(self) {#}

Adds a data validation to the collection.


### Returns 


[`Validation`](/cells/python-net/aspose.cells/validation) object index.


```python

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


### Remarks

NOTE: This method is now obsolete. Instead, 
please use ValidationCollection.Add(CellArea) method.
This method will be removed 12 months later since JANUARY 2015. 
Aspose apologizes for any inconvenience you may have experienced.

## add(self, ca) {#aspose.cells.CellArea}

Adds a data validation to the collection.


### Returns 


[`Validation`](/cells/python-net/aspose.cells/validation) object index.


```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| ca | aspose.cells.CellArea | The area contains this validation. |



### See Also
* module [`aspose.cells`](../../)
* class [`Validation`](/cells/python-net/aspose.cells/validation)
* class [`ValidationCollection`](/cells/python-net/aspose.cells/validationcollection)
