Multiple dims #546
cvaldezerea
started this conversation in
General
Replies: 1 comment 4 replies
-
Not sure if I understand you correctly, but maybe you are looking for something like this: wb <- wb_workbook()$add_worksheet()$
add_data(x = rep(1, 30))$
add_numfmt(dims = "A1:A10", numfmt = "0.0%")$
add_font(dims = "A1:A10", name = "Arial", color = wb_color("red"), bold = "1")$
add_numfmt(dims = "A11:A20", numfmt = "0.0")$
add_font(dims = "A11:A20", name = "Arial", color = wb_color("green"), italic = "1")$
add_numfmt(dims = "A21:A30", numfmt = "0.0")$
add_font(dims = "A21:A30", name = "Arial", color = wb_color("blue"), strike = "1") |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, another question, if I want to change format like in these cells A1:A10 and A11:A20 and A:30:A40, like jumping. Another question in openxlsx, there was an option stack, how can I use it with add_numfmt or bold and color?
Beta Was this translation helpful? Give feedback.
All reactions