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

Gangadhara Rao Dirisala 5 Reputation points
2025-03-21T03:47:46.43+00:00

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?

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,345 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.