Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Edited Unassigned: Datavalidations can't be read after opening file in excel and then saving it. [15523]

$
0
0
Hi.

When you create an excel sheet with the EPPlus library it's possible to add DataValidation lists to it and this works fine. When you then save the excel file to disk and afterwords read it again with the EPPlus library you can still find the DataValidation lists that were created, so this to works fine too.
But if you open the excel file in Microsoft excel and then save it and now open it with EPPlus library, the DataValidation list can't be found anymore. I've looked at the xml files that reside in a xlsx file and I saw that the DataValidation lists still exist, but the are located in a different xml header then when they were created with EPPlus.
This is probably the reason they aren't found anymore by EPPlus, but can somebody tell me how I can still get this to work?
A workaround will be fine too, the only thing I want to know is what DataValidationList is added to what cell.

Reproduction steps.
1. Create an excel sheet with a DataValidationList based on a formula.
2. Open the created excel sheet in Microsoft excel.
3. Save the file within Microsoft excel.
4. Open the file with the EPPlus library
5. Notice that the DataValidation lists aren't there anymore.

I hope someone can help me.

Kind Regards,


Viewing all articles
Browse latest Browse all 2262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>