add(ValidationType,ValidationAlertStyle,ValidationOperator,Object,Object) Method
In This Topic
Adds data validation to the specified range.
Syntax
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 whenOperator is Between or NotBetween (otherwise, this argument is ignored).
See Also