When opening in Excel 2007 and then saving, the formula tag for the cell does not contain the aca nor ca attribute. When I edit the cell and save it, the ca attribute is added.
Code: Select all
<c r="C6" s="6">
<f ref="C6:R6" t="shared" si="0">InputCell</f>
<v>0</v>
</c>
Without an edit E6 shows as:
<c r="E6" s="6">
<f t="shared" si="0"/>
<v>0</v>
</c>
With an edit E6 shows as:
<c r="E6" s="6">
<f ca="1">InputCell</f>
<v>1000</v>
</c>
On
https://msdn.microsoft.com/en-us/librar ... ellformula
I found that ca designates "Calculate Cell" - "Indicates that this formula needs to be recalculated the next time calculation is performed."
aca is "Always Calculate Cell"
With this discovery I need to know how to set this attribute. I found the following in the WriteFormula procedure of TXLSWriteSheetData.OnWriteCell but I haven't been able to see how to set these.
Code: Select all
Cell.F.Aca := (FH.Options and Xc12FormulaOpt_ACA) <> 0;
Cell.F.CA := (FH.Options and Xc12FormulaOpt_CA) <> 0;
For the hyperlinks it appears to be the absence of the t="str" attribute of the cell that is the problem.
Code: Select all
<c r="A10" t="str" s="25">
<f>HYPERLINK("#'Numerics'!A1","Simple Numerics")</f>
<v>Simple Numerics</v>
</c>