Validation Property

Microsoft Excel Visual Basic

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

Example

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

Range("e5").Validation.IgnoreBlank = True