Microsoft Excel needs to recover XLSX before opening
See original GitHub issueHi,
Excel pops up a message whether I want to repair the file, because it has found some issues with it. After recovery it says:
Repaired Records: Cell information from /xl/worksheets/sheet1.xml part
Recovery log:
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error212120_01.xml</logFileName>
<summary>Errors were detected in file 'C:\0\test.xlsx'</summary>
<repairedRecords summary="Following is a list of repairs:">
<repairedRecord>Repaired Records: Cell information from /xl/worksheets/sheet1.xml part</repairedRecord>
</repairedRecords>
</recoveryLog>
Please advise.
Thanks, Andor
Issue Analytics
- State:
- Created 7 years ago
- Reactions:14
- Comments:29 (1 by maintainers)
Top Results From Across the Web
Repairing a corrupted workbook - Microsoft Support
Recover data from a corrupted workbook · On the File tab, click Open. · Double-click the name of the workbook that you have...
Read more >[Fixed] The Workbook Cannot Be Opened or Repaired By ...
When an Excel workbook gets corrupt, MS Excel automatically detects and starts the file recovery mode to open and repair the file. However,...
Read more >How to Fix Excel has Encountered a Problem and need to ...
Solution 1: How to Repair Excel File with 'Open and Repair' ... When Microsoft fails to recognize an Excel file either in XLS...
Read more >[Fixed] The File Is Corrupted and Cannot Be Opened in Excel ...
Fix 1. Repair Excel/Word File, Download and install EaseUS file repair software. From the software's main screen, select...Full steps ; Fix 2.
Read more >Get rid of "The file is corrupt and cannot be opened" in Excel
Note. For safety reasons, you should save your document with new Office format like .xlsx. You can do it this way: File >...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me, it looks like the worksheet names are the issue: http://stackoverflow.com/questions/11706393/excel-found-unreadable-content-in-xslx
I need to use shorter names.
Just to update in case it helps anyone else, I finally found the source of my problem. I had some data generated in cells which exceeded the length allowed (32,767 characters). There’s other constraints on things like row height/cell length/etc which when violated work in non Microsoft products (e.g. Google Docs) but bring up a Microsoft recovery message. You can find that info here: https://support.office.com/en-us/article/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3
I think it would be a great idea to detect these issues in excelJS and pass a warning. This way, we won’t need to troubleshoot blindly and drive ourselves crazy (and usually an excel UI would apply these constraints to the inputs themselves).
Any thoughts on it? I am considering putting in a PR as library this seems to be the best hope at isomorphic excel solutions currently.