We found a problem with some content in 'FileName.xlsx'.Do you want us to try to recover as much as we can? If you trust the source of this workbook, Click Yes
Hello Everyone,
I used sharedString.xml, workbook.xml and style.xml and used visual force page code to generate the excel document.
Downloading a .xlsx file gives "We found a problem with some content in 'FileName.xlsx'.Do you want us to try to recover as much as we can? If you trust the source of this workbook, Click Yes". On clicking "Yes" button, it displays content. I am able to open the file after it is repaired and the data seems to be fine.Error shows for both Open and save options. But after repair data is still there. I don't see any data is removed, only problem is displaying error message while opening the excel.
Can someone help me how to resolve the issue?