Fix Excel/xl/sharedstrings.xml with XML errors

Source: Internet
Author: User
Tags zip

Knowledge Point Analysis:

Excel has found unreadable content in "test.xlsx". Do you want to restore the contents of this workbook? If you trust the source of this workbook, click Yes. Excel has been able to open the file by repairing or deleting the unreadable content. Deleted part:/xl/sharedstrings.xml with XML error. The name in the end tag of the (string) element must match the element type in the start tag. Row 14, column 3595.

Deleted records: Cell information for the/xl/worksheets/sheet1.xml section.

Operation Steps:

1. Copy the document and change the extension "xlsx" to "zip";

2. Open this compressed file, find "XL" under the "Sharedstrings.xml" and extract it, keep this window;

3. "Notepad" to extract the extracted files "sharedstrings.xml" open, using the Find replacement function to replace all the "</r><si>" </r></si> <si> "and save it off; (Do not know if there are " </r><si> "etc.)

4. Drag the modified file back to the window in step 2 and confirm the closure;

5. Change the file name extension from "Zip" back to "xlsx".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.