Reading Data Validation for sheet returns empty set if validation is a formula to another sheet.
Mainly, I have
My code is as follows:
IWorkbook workbook = WorkbookFactory.Create(@"test.xlsx"); ISheet sheet = workbook.GetSheetAt(0); var dvs = sheet.GetDataValidations();
At runtime, dvs is empty (count is 0). If I do the exact same thing within the same sheet, all works fine.
dvs
1.4m articles
1.4m replys
5 comments
57.0k users