I recently tried importing an excel file created in ClosedXML into an external system. I received a generic error from their system which I couldn't decipher.
To see if there was an issue with the data I opened the file in excel, then resaved it via Office. I tried importing the file again and it succeeded. I then opened the original file and the "resaved" file in notepad++ and saw that they seemed to be different.
I guess my question is, what would be causing the CLosedXML file to be rejected by the external system? I'd have expected the ClosedXML xlsx file to be the same.
The file sizes were also different. Closed XML was 142kb but "resaving" in excel boosted it to "166Kb".
Is there something I can do to make the files the same without manually resaving it in excel?
Thanks
To see if there was an issue with the data I opened the file in excel, then resaved it via Office. I tried importing the file again and it succeeded. I then opened the original file and the "resaved" file in notepad++ and saw that they seemed to be different.
I guess my question is, what would be causing the CLosedXML file to be rejected by the external system? I'd have expected the ClosedXML xlsx file to be the same.
The file sizes were also different. Closed XML was 142kb but "resaving" in excel boosted it to "166Kb".
Is there something I can do to make the files the same without manually resaving it in excel?
Thanks