Learn R Programming

openxlsx (version 3.0.0)

getStyles: Returns a list of all styles in the workbook

Description

Returns a list of all styles in the workbook

Usage

getStyles(wb)

Arguments

wb
A workbook object

See Also

replaceStyle

Examples

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

Run the code above in your browser using DataLab