Редагувати

Поділитися через


Range.Validation property (Excel)

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.