Skip to content

CellIsRule

Source code

Description

Conditional formatting rule based on cell contents.

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.formatting.rule.html

Usage

CellIsRule(
  operator = NULL,
  formula = list(),
  stopIfTrue = NULL,
  font = NULL,
  border = NULL,
  fill = NULL,
  ...
)

Arguments

operator operator
formula formula as list
stopIfTrue stopIfTrue
font font
border border
fill fill
Additional arguments, i.e. kwargs.

Value

An openpyxl Python object.

Examples

library("xlcharts")

CellIsRule(operator = "equal")