1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{conditionalFormat}
\alias{conditionalFormat}
\title{Add conditional formatting to cells}
\usage{
conditionalFormat(
wb,
sheet,
cols,
rows,
rule = NULL,
style = NULL,
type = "expression"
)
}
\arguments{
\item{wb}{A workbook object}
\item{sheet}{A name or index of a worksheet}
\item{cols}{Columns to apply conditional formatting to}
\item{rows}{Rows to apply conditional formatting to}
\item{rule}{The condition under which to apply the formatting or a vector of colours. See examples.}
\item{style}{A style to apply to those cells that satisfy the rule. A Style object returned from createStyle()}
\item{type}{Either 'expression', 'colorscale' or 'databar'. If 'expression' the formatting is determined
by a formula. If colorScale cells are coloured based on cell value. See examples.}
}
\description{
DEPRECATED! USE \code{\link[=conditionalFormatting]{conditionalFormatting()}}
}
\details{
DEPRECATED! USE \code{\link[=conditionalFormatting]{conditionalFormatting()}}
Valid operators are "<", "<=", ">", ">=", "==", "!=". See Examples.
Default style given by: createStyle(fontColour = "#9C0006", bgFill = "#FFC7CE")
}
\seealso{
\code{\link[=createStyle]{createStyle()}}
}
\author{
Alexander Walker
}
|