Description
Creates a DataValidation object which can be set on a Range, Area, or Cell.
C#
vb.net
Parameters
allowedType
The data type allowed in the cell.comparison
The comparison used to validate the cell's value.value
A formula representing the constraint for the data validation.Returns
A DataValidation object.Examples
C#
vb.net