# plain theme
xls_theme_plain()
# plain theme with title in bold
my_theme <- xls_theme_plain(title = openxlsx::createStyle(textDecoration = "bold"))
if (FALSE) {
toxlsx(object = iris, path = tempdir(), theme = my_theme)
}
Run the code above in your browser using DataLab