2.5.98.83 RevName

The RevName structure specifies a defined name referenced by a formula in a revision, as specified in the Formulas overview (section 2.2.2).


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

book (variable)

...

fExtern

name (variable)

...

externName (variable)

...

book (variable): A structure that specifies the workbook based on the value of the first byte, according to the following table.

Value

Meaning

0x01

Specifies the current workbook. This field is two bytes in size. The second byte MUST be 0x02.

Any value except 0x01

This field is a VirtualPath (section 2.5.98.101) that specifies the workbook.

fExtern (1 byte): An unsigned integer that specifies whether the defined name is defined in the current workbook. It MUST be 0x00 if the first byte of book is 0x01, and 0x01 otherwise.

name (variable): A RevNameTabid (section 2.5.98.85) structure that specifies the name and the scope of the defined name. This field MUST be present only if fExtern is 0x00.

externName (variable): A RevNamePly (section 2.5.98.84) structure that specifies the name and the scope of the defined name. This field MUST be present only if fExtern is 0x01.