question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft Excel needs to recover XLSX before opening

See original GitHub issue

Hi,

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:open
  • Created 7 years ago
  • Reactions:14
  • Comments:29 (1 by maintainers)

github_iconTop GitHub Comments

20reactions
jayflocommented, May 17, 2016

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.

15reactions
rob2dcommented, May 11, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found