Sets the allowed data type, comparison type, and minimum and maximum values to use when validating a cell entry.