I am trying to create date validation on an xlsx column so far I have:
DataValidation dataValidation = new DataValidation
{
Type = DataValidationValues.Date,
AllowBlank = false,
ShowErrorMessage = true,
ErrorTitle = "Invalid value entered",
Error = "Please enter a valid date in dd/mm/yyyy format",
SequenceOfReferences = new ListValue<StringValue> { InnerText = "A2:A10000" }
};
if I open an xlsx document and select the date validation type there are fields for the following:
Data: Between, Greater than, less than Minimum Maximum
How can I set these programmatically?