We can reproduce the issue by creating a simple spreadsheet with a cell value 19120072 being formatted as M/d/yyyy.
When you open the sheet by excel you will see it as ###########. That means it is not a proper OADate value. However if you use VBA code Range("...").Value2 , you will still see the numerical value.
On EPPlus, if you read the cell the Value property is an empty string, and there is simply no way to get back the original value even I tried applying a proper format to the cell within the same EPPlus session.
I understand that I can modify the sheet manually and read it again but it is an overnight batch job which causing lots more production support overhead.
Thanks
When you open the sheet by excel you will see it as ###########. That means it is not a proper OADate value. However if you use VBA code Range("...").Value2 , you will still see the numerical value.
On EPPlus, if you read the cell the Value property is an empty string, and there is simply no way to get back the original value even I tried applying a proper format to the cell within the same EPPlus session.
I understand that I can modify the sheet manually and read it again but it is an overnight batch job which causing lots more production support overhead.
Thanks