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.formula
For 'Custom' allowed type: the formula used to validate the cell's data. For 'List' allowed type: the formula referencing a range in the worksheet.Returns
A DataValidation object.Examples
C#
vb.net