set_formula2 method

set_formula2

Sets the value or expression associated with this format condition.

def set_formula2(self, formula, is_r1c1, is_local):
    ...
ParameterTypeDescription
formulastrThe value or expression associated with this format condition.
If the input value starts with ‘=’, then it will be taken as formula. Otherwise it will be taken as plain value(text, number, bool).
For text value that starts with ‘=’, user may input it as formula in format: “="=…"”.
is_r1c1boolWhether the formula is R1C1 formula.
is_localboolWhether the formula is locale formatted.

See Also