2.5.198.118 SharedParsedFormula

The SharedParsedFormula structure specifies the formula (section 2.2.2) for a shared formula.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cce

rgce (variable)

...

rgcb (variable)

...

cce (2 bytes): An unsigned integer that specifies the length of rgce in bytes. MUST be greater than 0.

rgce (variable): An Rgce that specifies the sequence of Ptgs for the formula. MUST NOT contain PtgExp, PtgTbl, PtgSxName, PtgIsect, PtgUnion, PtgRange, PtgArray, PtgElfLel, PtgElfRw, PtgElfCol, PtgElfRwV, PtgElfColV, PtgElfRadical, PtgElfRadicalS, PtgElfColS, PtgElfColSV, PtgElfRadicalLel, PtgRefErr, PtgAreaErr, PtgRef3d, PtgArea3d, PtgRefErr3d, PtgAreaErr3d, PtgNameX, PtgMemArea, PtgMemErr, PtgMemNoMem, or PtgMemFunc.

If this field contains a PtgRef, then the loc.column.colRelative and loc.column.rowRelative fields in the PtgRef MUST be 0.

If this field contains a PtgArea, then the area.columnFirst.colRelative, area.columnFirst.rowRelative, area.columnLast.colRelative, and area.columnLast.rowRelative fields in the PtgArea MUST be 0.

If this field contains a PtgFuncVar and the fCeFunc field of the PtgFuncVar is 0, then the tab field of PtgFuncVar MUST NOT be 0x017B.

The root node of the parse tree of this field MUST be a VALUE_TYPE, as described in Rgce.

rgcb (variable):  An RgbExtra that specifies ancillary data for the formula.