2.5.198.76 PtgName

The PtgName operand specifies a reference to a defined name in the same workbook as the containing Rgce.

If the formula (section 2.2.2) containing this structure is part of a revision as specified in the Formulas overview, then there MUST be a RevNameTabid in the RgbExtra corresponding to this PtgName, which specifies those defined name.


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

ptg

A

B

nameindex

...

ptg (5 bits): Reserved. MUST be 0x03.

A - type (2 bits): A PtgDataType that specifies the required data type for the value of the Ptg.

B - reserved (1 bit): MUST be zero, and MUST be ignored.

nameindex (4 bytes): If the formula containing this structure is part of a revision as specified in the Formulas overview, then this value is undefined and MUST be ignored. Otherwise it is an unsigned integer that specifies a one-based index of a Lbl record in the collection of Lbl records in the Globals Substream. The referenced Lbl specifies the referenced defined name. MUST be greater than 0 and less than or equal to the number of Lbl records in the workbook.