Description
Assigns a data validation rule to all cells in the Area.If the dataValidation object uses a local reference or area in a formula (i.e. "=A5:B7"), then the area will adjust those local references accordingly based on the area's location. The original dataValidation object will not be effected.
C#
vb.net
Parameters
dataValidation
A DataValidation objectrepresenting the data validation rule to assign to the Area.
Examples
C#
vb.net