2.4.765 BrtRRDefName

The BrtRRDefName record specifies a revision record (section 2.2.12.4) associated with a change to a 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

rrd (14 bytes)

...

...

...

tabidLocal

A

B

reserved

grbit

...

grbitOld

...

...

fgrp

...

fgrpOld

...

stName (variable)

...

rgce (variable)

...

stCustommenu (variable)

...

stDescription (variable)

...

stHelptopic (variable)

...

stStatustext (variable)

...

stComment (variable)

...

rgceOld (variable)

...

stOldCustommenu (variable)

...

stOldDescription (variable)

...

stOldHelptopic (variable)

...

stOldStatustext (variable)

...

stOldComment (variable)

...

rrd (14 bytes):  A RRd (section 2.5.124) that specifies shared revision data for this revision record (section 2.2.12.4). The rrd field has the following additional stipulations:

Field

Restrictions

rrd.revt

Field value MUST be 0x000A (REVTDEFNAME) or 0x0022 (REVTOLDNAME). See section 2.5.117 for definitions.

rrd.revid

Field value MUST be greater than or equal to 0.

rrd.reserved2

Field value MUST be 0 and MUST be ignored.

tabidLocal (2 bytes): A signed integer that specifies the identifier of the sheet to which this defined name belongs. If the value of this field is not equal to 0xFFFF, then this value is defined in a sheet scope and MUST be equal to an iTabID field value from the BrtBeginBundleShs (section 2.4.13) collection. The value 0xFFFF means that the defined name does not belongs to any sheet.

A - fViewName (1 bit): A bit that specifies whether this named range belongs to a custom view.

B - fBuiltin (1 bit): A bit that specifies whether the name is a built-in name.

reserved (6 bits):  The value of this field MUST be 0 and MUST be ignored.

grbit (6 bytes): A RRdDnGrbit (section 2.5.125) that specifies data for the new state of the defined name for this record.

grbitOld (6 bytes): A RRdDnGrbit that specifies data for the old state of the defined name for this record.

fgrp (4 bytes): A FnGroupID (section 2.5.52) that specifies the fgrp field of RRdDnGrbit. The value of this field MUST be the same as the value of the fgrp field from grbit.

fgrpOld (4 bytes):  A FnGroupID that specifies the function group identifier of the old name, which corresponds to the fgrp field of RRdDnGrbit. The value of this field MUST be the same as the value of the fgrp field from grbitOld.

stName (variable): An XLWideString (section 2.5.169) that specifies the name for the new defined name. The length of this string MUST be less than or equal to 255. This field has the same meaning as the name field of BrtName (section 2.4.711).

rgce (variable): A NameParsedFormula (section 2.5.98.12) that specifies the formula (section 2.2.2) of the new name.

stCustommenu (variable): A XLNullableWideString (section 2.5.167) that specifies the new custom menu text. The length of this string MUST be less than or equal to 32767. This field MUST be NULL if the value of the fCustommenu field from grbit is 0.

stDescription (variable): An XLNullableWideString that specifies the new description text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fDescription field from grbit is 0.

stHelptopic (variable): An XLNullableWideString that specifies the new help text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fHelptopic field from grbit is 0.

stStatustext (variable): An XLNullableWideString that specifies the new status bar text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fStatustext field from grbit is 0.

stComment (variable): An XLNullableWideString that specifies the new comment text. The length of this field MUST be less than or equal to 255.

rgceOld (variable): A NameParsedFormula that specifies the formula of the old name.

stOldCustommenu (variable): An XLNullableWideString that specifies the old custom menu text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fCustommenu field from grbitOld is 0.

stOldDescription (variable): An XLNullableWideString that specifies the old description text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fDescription field from grbitOld is 0.

stOldHelptopic (variable): An XLNullableWideString that specifies the old help text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fHelptopic field from grbitOld is 0.

stOldStatustext (variable): An XLNullableWideString that specifies the old status bar text. The length of this field MUST be less than or equal to 32767. This field MUST be NULL if the value of the fStatustext field from grbitOld is 0.

stOldComment (variable): An XLNullableWideString that specifies the old comment text. The length of this field MUST be less than or equal to 255.