Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getStyles

Returns a list of all styles in the workbook


Description

Returns list of style objects in the workbook

Usage

getStyles(wb)

Arguments

wb

A workbook object

See Also

Examples

## load a workbook
wb <- loadWorkbook(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx"))
getStyles(wb)[1:3]

openxlsx

Read, Write and Edit xlsx Files

v4.2.3
MIT + file LICENSE
Authors
Philipp Schauberger [aut, cre], Alexander Walker [aut], Luca Braglia [ctb], Joshua Sturm [ctb]
Initial release
2020-10-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.