wb_add_named_style {openxlsx2} | R Documentation |
Apply styling to a cell region with a named style
Description
Set the styling to a named style for a cell region. Use wb_add_cell_style()
to style a cell region with custom parameters.
A named style is the one in spreadsheet software, like "Normal", "Warning".
Usage
wb_add_named_style(
wb,
sheet = current_sheet(),
dims = "A1",
name = "Normal",
font_name = NULL,
font_size = NULL
)
Arguments
wb |
A |
sheet |
A worksheet |
dims |
A cell range |
name |
The named style name. |
font_name , font_size |
optional else the default of the theme |
Value
The wbWorkbook
, invisibly
See Also
Other styles:
wb_add_border()
,
wb_add_cell_style()
,
wb_add_fill()
,
wb_add_font()
,
wb_add_numfmt()
,
wb_cell_style
[Package openxlsx2 version 1.8 Index]