We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59a20c1 + ad0b162 commit 4a6ec4cCopy full SHA for 4a6ec4c
OpenXmlFormats/Spreadsheet/Sheet.cs
@@ -2701,7 +2701,7 @@ internal void Write(StreamWriter sw, string nodeName)
2701
XmlHelper.WriteAttribute(sw, "r1", this.r1);
2702
XmlHelper.WriteAttribute(sw, "r2", this.r2);
2703
XmlHelper.WriteAttribute(sw, "ca", this.ca, false);
2704
- if(this.si!=0)
+ if(this.t == ST_CellFormulaType.shared || this.si!=0)
2705
XmlHelper.WriteAttribute(sw, "si", this.si, true);
2706
XmlHelper.WriteAttribute(sw, "bx", this.bx, false);
2707
if (!string.IsNullOrEmpty(this.valueField))
0 commit comments