GCW: Global Column-Width Flags (ABh)

This record contains an array of 256 flag bits, where each bit represents a column on the sheet. If a bit is true, it means that the corresponding column has the Use Standard Width option turned on. If a bit is false, it means that the column has the Use Standard Width option turned off. If the Standard Width measurement has been changed (that is, if it is no longer the default), Microsoft Excel writes a STANDARDWIDTH record.

Record Data

Offset

Name

Size

Contents

4

cb

2

Number of bytes in the global column-width flags

6

grbitGCW

2

Global column-width flags for columns A through P

8

grbitGCW

2

Global column-width flags for columns Q through AF

...

...

...

...

4+cb

grbitGCW

2

Global column-width flags for columns IG through IV


The grbitGCW field contains the option flags listed in the following table.

Bits

Mask

Name

Contents

0 (LSB)

0001h

fGCWcol1

Flag for column 1 (for example, column A)

1

0002h

fGCWcol2

Flag for column 2 (for example, column B)

2

0004h

fGCWcol3

Flag for column 3 (for example, column C)

...

...

...

...

15

8000h

fGCWcol16

Flag for column 16 (for example, column P)