Creates a DataValidation object which can be set on a Range, Area, or Cell. |
public DataValidation CreateDataValidation(ValidationType allowedType, System.Object sourceArray) |
Public Function CreateDataValidation(ByVal allowedType As ValidationType, ByVal sourceArray As Object) As DataValidation |
The data type allowed in the cell. |
For 'List' allowed type: the array of valid values for the cell. |
A DataValidation object. |
|