Excel.ConditionalColorScaleCriterion interface

Represents a color scale criterion which contains a type, value, and a color.

Remarks

[ API set: ExcelApi 1.6 ]

Properties

color

HTML color code representation of the color scale color (e.g., #FF0000 represents Red).

formula

A number, a formula, or null (if type is lowestValue).

type

What the criterion conditional formula should be based on.

Property Details

color

HTML color code representation of the color scale color (e.g., #FF0000 represents Red).

color?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.6 ]

formula

A number, a formula, or null (if type is lowestValue).

formula?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.6 ]

type

What the criterion conditional formula should be based on.

type: Excel.ConditionalFormatColorCriterionType | "Invalid" | "LowestValue" | "HighestValue" | "Number" | "Percent" | "Formula" | "Percentile";

Property Value

Excel.ConditionalFormatColorCriterionType | "Invalid" | "LowestValue" | "HighestValue" | "Number" | "Percent" | "Formula" | "Percentile"

Remarks

[ API set: ExcelApi 1.6 ]