Skip to main content

Range.Validation property

Table of contents
  1. Syntax
  2. Example

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.

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>