Description |
---|
Excerpt |
---|
Sets the allowed data type and a set of valid values to use when validating a cell entry. |
Signature | ||||
---|---|---|---|---|
| ||||
public void SetAllowedType(ValidationType allowedType, System.Object sourceArray) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Sub SetAllowedType(ByVal allowedType As ValidationType, ByVal sourceArray As Object) |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The data type allowed in the cell. |
Param | ||||
---|---|---|---|---|
| ||||
For 'List' allowed type: the array of valid values for the cell. |
Remarks |
---|
This method may only be used for ValidationTypes of List, Custom, or AnyValue. See object documentation for the ValidationType parameter type combinations accepted by this method. |