Open mdufrasne opened 3 years ago
Please upload the Excel in order to help reproduce the issue
Hi! Having the same issue here, data validation is not detected when it's a list referencing cells in another sheet. I attach a simple xlsx file showcasing the issue. external_data_validation_sample.xlsx
Thanks!
Had the same issue just now, and it can be reproduced with @Algerator's sample workbook.
edit: For the record, this has been an open issue in POI since 2019 too.
edit-2: Tried to work around this using Microsoft's DocumentFormat.OpenXml
package, but it has the same issue (see https://github.com/dotnet/Open-XML-SDK/issues/1613).
Reading Data Validation for sheet returns empty set if validation is a formula to another sheet.
Mainly, I have
My code is as follows:
At runtime, dvs is empty (count is 0). If I do the exact same thing within the same sheet, all works fine.