rubyXL icon indicating copy to clipboard operation
rubyXL copied to clipboard

Images in other sheets seems to corrupt file

Open mlmagnussen opened this issue 8 years ago • 2 comments

I'm experiencing a strange problem. I have an excel file with several sheets where there is a company logo at the top of each sheet. However, when I try to write to that excel file it gets corrupted and needs to be fixed by excel.

This issue disappears when i remove all the pictures except the first one. I've attached three files, one with the images, one where it got corrupted and lastly the "fix" of removing the images.

SSF_NGS Untouched.xlsx SSF_NGS Broken.xlsx SSF_NGS Images Removed.xlsx

Any ideas what the issue is?

mlmagnussen avatar Mar 10 '17 08:03 mlmagnussen

Same exact issue here. 4 attached sheets, all with the same logo as the first sheet. Looking at the error xml file, it seems that Excel doesn't actually "fix" anything, which is super frustrating.

512dev avatar Apr 20 '18 07:04 512dev

I had a similar issue. Separating the sheets so that each sheet was its own workbook seemed to fix it for me.

OliverCai0 avatar Jul 28 '22 22:07 OliverCai0