I want to use the excel formula rule="MOD(LIGNE();2)" and rule="NON(MOD(LIGNE();2))" so that I have a different formatting for each row
Actual Behavior
The conditional formatting is not showing. It was present and could be manually activated in the Excel file at my office (which was not perfect). But now it is completely absent when I try to write the file on my mac
Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
I took from the vignettes examples
`negStyle <- createStyle(fontColour = "#9C0006", bgFill = "#FFC7CE")
Expected Behavior
I want to use the excel formula
rule="MOD(LIGNE();2)"
andrule="NON(MOD(LIGNE();2))"
so that I have a different formatting for each rowActual Behavior
The conditional formatting is not showing. It was present and could be manually activated in the Excel file at my office (which was not perfect). But now it is completely absent when I try to write the file on my mac
Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
posStyle <- createStyle(fontColour = "#006100", bgFill = "#C6EFCE")
conditionalFormatting(fichier_excel, "Tableau1", cols=1:10, rows=1:11, rule="MOD(LIGNE();2)", type = "expression", style = negStyle)
conditionalFormatting(fichier_excel, "Tableau1", cols=1:10, rows=1:11, rule="NON(MOD(LIGNE();2))", style = posStyle) `
2.
3.
sessionInfo()
Version of openxlsx: openxlsx_4.1.0 test.xlsx
Version of R: R version 3.5.1 (2018-07-02)