Line Chart Crashes Excel 2007
For simplicity lets say my file name is "test.xlsx".
I have written my own examples and have tried using the examples provided here but both cause Excel to crash when it is opened. I have provided images of the Error messages excel generates when it is opening the file.
When you try to open the file excel will do what it can to recover which is usually throwing away the conflicting charts and then allowing you to view the rest of the worksheets.
After some debugging I have tracked the error to be located in the file location: "test.xlsx\xl\charts\chart1.xml" where chart1.xml name is generic and it is replaced with whichever chart is causing the conflict.
The line in this xml file that is causing the error is "a:round". When I delete this line the file opens up perfectly fine with no errors.
The line in the axlsx code that is causing an error is:
chart.add_series :data => sheet["A3:A6"], :title => sheet["A2"], :color => "0000FF"
And I find if I remove ":color => "0000FF" from the line then excel will open the file just fine.
As a couple side notes. I am using Office Excel 2007 as part of Professional Plus 2007 on a Windows 7 computer. I tried to open the file on my computer and also had a coworker try it on theirs and we both got the same errors. I originally was developing on a Macbook Pro and was using the file in Excel for Mac 2011 and I was able to open up the file with no errors
Hey @ottodude125 ! So why did you close this issue?
I assume you are referring to this issue which is # 260. As of right now it is still open. I closed 256 which referenced 260.
Oh, I see. Thanks