get_formula2 method

get_formula2

Gets the value or expression associated with this format condition.

Returns

The value or expression associated with this format condition.

def get_formula2(self, is_r1c1, is_local):
    ...
ParameterTypeDescription
is_r1c1boolWhether the formula needs to be formatted as R1C1.
is_localboolWhether the formula needs to be formatted by locale.

get_formula2

Gets the formula of the conditional formatting of the cell.

Returns

The formula.

def get_formula2(self, row, column):
    ...
ParameterTypeDescription
rowintThe row index.
columnintThe column index.

get_formula2

Gets the value or expression of the conditional formatting of the cell.

Returns

The value or expression associated with the conditional formatting of the cell.

def get_formula2(self, is_r1c1, is_local, row, column):
    ...
ParameterTypeDescription
is_r1c1boolWhether the formula needs to be formatted as R1C1.
is_localboolWhether the formula needs to be formatted by locale.
rowintThe row index.
columnintThe column index.

Remarks

The given cell must be contained by this conditional formatting, otherwise null will be returned.

See Also