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.
dataValidationA DataValidation object representing the data validation rule to assign to the Range.