powered by
wb wrapper to add style to workbook
wb_add_style(wb, style = NULL, style_name = NULL)
workbook
style xml character
style name used optional argument
create_border(), create_cell_style(), create_dxfs_style(), create_fill(), create_font(), create_numfmt()
create_border()
create_cell_style()
create_dxfs_style()
create_fill()
create_font()
create_numfmt()
yellow_f <- wb_colour(hex = "FF9C6500") yellow_b <- wb_colour(hex = "FFFFEB9C") yellow <- create_dxfs_style(font_color = yellow_f, bgFill = yellow_b) wb <- wb_workbook() %>% wb_add_style(yellow)
Run the code above in your browser using DataLab