2.5.198.99 RevName

The RevName structure specifies a defined name referenced by a formula (section 2.2.2) 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): 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 that specifies the workbook.

fExtern (1 byte):  A Boolean (section 2.5.14) that specifies whether the defined name is defined in the current workbook. MUST be 0x00 if the first byte of book is 0x01, and 0x01 otherwise.

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

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