Range.Validation Property

Excel Developer Reference

Returns the Validation object that represents data validation for the specified range. Read-only.

Syntax

expression.Validation

expression   A variable that represents a Range object.

Example

This example causes data validation for cell E5 to allow blank values.

Visual Basic for Applications
  Range("e5").Validation.IgnoreBlank = True

See Also