Validation.InCellDropdown Property
True if data validation displays a drop-down list that contains acceptable values. Read/write Boolean.
Syntax
expression.InCellDropdown
expression A variable that represents a Validation object.
Remarks
This property is ignored if the validation type isn't xlValidateList.
Use theargument of the Addor Modifymethod of the Validationobject to specify the range that contains valid data.
Example
This example adds data validation to cell E5. The range A1:A10 contains the acceptable values for the cell and the cell displays a drop-down list that contains those values.
| Visual Basic for Applications |
|---|
|
See also:
- Validation Object
- Validation Object Members
- ErrorMessage Property
- ErrorTitle Property
- IgnoreBlank Property
- InputMessage Property
- InputTitle Property
| Minimum |