ColHeader Property (MSHFlexGrid)

       

Specifies whether headers should display for the specified band.

Syntax

object.ColHeader(value)

The ColHeader property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value Optional. A Long value that specifies whether the band that contains the headers will show or be hidden, as described in Settings.

Settings

The settings for value are:

Settings Value Description
flexColHeaderOn 0 The headers display for each band.
flexColHeaderOff 1 No headers display for the band.
flexColHeaderOnce 2 The headers display for the band. If the band is collapsed, only one header displays. Duplicate headers don’t display.