set_formulas method

set_formulas

Sets the value or expression associated with this format condition.

def set_formulas(self, formula1, formula2, is_r1c1, is_local):
    ...
ParameterTypeDescription
formula1strThe 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: “="=…"”.
formula2strThe value or expression associated with this format condition. The input format is same with formula1
is_r1c1boolWhether the formula is R1C1 formula.
is_localboolWhether the formula is locale formatted.

See Also