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.



expression A variable that represents a Range object.


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>