Open gunjangala opened 6 years ago
The list of styles returned by getStyles does NOT include the information about the sheet any more. Instead, you have to directly access the workbook's styleObjects list:
> wb$styleObjects
[[1]]
[[1]]$style
A custom cell style.
Cell formatting: GENERAL
Cell fill foreground: rgb: #FFFF00
Cell fill background: indexed: 64
[[1]]$sheet
[1] "fold.difference"
[[1]]$rows
[1] 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100
[17] 100 100 100 100 100 100 102 102 102 102 102 102 102 102 102 102
.....
Hello, How can you identify styles using getStyles() for multiple sheets in workbook? I have 11 sheets in my workbook and there are 22 sublists generated and I do not know which style corresponds to which sheet in a particular workbook. Is there a way to know that? You can find the input file here.
Thanks, Gunjan