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.minimumValue
A primitive or Date representing cell's maximum value.maximumValue
A primitive or Date representing the cell's minimum value.Returns
A DataValidation object.Examples
C#
vb.net