Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptextWrap gives corrupted sheet #17
Comments
|
Could you please provide a functional example. |
|
|
I've been having the same issue. Excel has always been able to repair the file automatically, but it's become a nuisance, so I've been trying to fix it. The error log pointed to /xl/styles.xml as the culprit. I renamed my corrupted xyz.xlsx to xyz.zip, opened the styles file, and found this. In the center, there should be a space before "wrapText"; I believe this is what's causing the issue. I'm trying to determine how that style is generated, and I'll submit a pull request if/when I find it. |
|
Hey JoshuaSturm, I checked and tested your fix. It solved the issue. Thank you for the help. Very much appreciated !!! |
Hey,
When I use wrapText=TRUE I obtain a corrupted file:
I attached a file with and without text wrapping for your convenience.
addStyleExample_wrapF.xlsx
addStyleExample_wrapT.xlsx