Skip to end of metadata
Go to start of metadata

Description

Assigns a data validation rule to all cells in the Range. If the DataValidation object uses a local reference or area in a formula (i.e. "=A5:B7"), then the range will adjust those local references accordingly based on the range's location. The original DataValidation object will not be affected.

C#
vb.net

Parameters

dataValidation
A DataValidation object representing the data validation rule to assign to the Range.

Examples

C#
vb.net
  • No labels