void Add( ValidationType type, ValidationAlertStyle alertStyle, ValidationOperator validationOperator, System.object formula1, System.object formula2 )
Parameters
- type
- Required ValidationType. The validation type.
- alertStyle
- Optional Object. The validation alert style.
- validationOperator
- Optional Object. The data validation operator.
- formula1
- Optional Object. The first part of the data validation equation.
- formula2
- Optional Object. The second part of the data validation when Operator is Between or NotBetween (otherwise, this argument is ignored).