2.5.18 CFType

The CFType enumeration specifies the type of conditional formatting rule applied to a range.

The value of this enumeration MUST be a value from the following table.

Name

Value

Meaning

CF_TYPE_CELLIS

0x00000001

Cells are formatted based on their values.

CF_TYPE_EXPRIS

0x00000002

Cells are formatted based on the result of a formula (section 2.2.2) or a CFTemp (section 2.5.16) expression.

CF_TYPE_GRADIENT

0x00000003

A color scale is used to shade the cells based on their values.

CF_TYPE_DATABAR

0x00000004

A data bar is drawn in each cell.

CF_TYPE_FILTER

0x00000005

Cells are formatted when their values are in the top or bottom of the range of all values in the conditional formatting range.

CF_TYPE_MULTISTATE

0x00000006

An icon is displayed in the cell based on its value.