-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to extract conditional formatting using xlsx_formats #56
Comments
Hi @awdursun, thanks for explaining how you would use this feature. I haven't implemented conditional formatting before, because it is based on cell values, so I thought it would be easier to filter for the cells by their values than their conditional formatting. Would that work in your case? |
@nacnudus , thanks so much for the quick response. I would like to not use conditional formatting, but I'm unable to come up with a way that would work. Let's say the original file is a shared file, and users highlight values in a column using various colors. I can use To put it in a different way, I'm not sure how else to use the hex codes to highlight cells in a new file, other than to use conditional formatting to do so. |
I see, there isn't really a rule for the conditional formatting, so you need to be able to read conditional formatting back into tidyxl. From a quick read of the openxlsx documentation there might be a way using I'll think about how to implement this anyway. I doubt the formatting itself is in the file, probably only the rule. Would the rule alone be enough for your need? |
OHH, I think I can just implement the conditional formatting in R using |
Applying the conditional formatting via openxlsx's |
I am unable to extract conditional formatting from an xlsx file using xlsx_formats.
The goal is to continuously rebuild a xlsx file using openxslx, but I want to maintain the highlighting from the imported xlsx file. I am able to extract the formatting from the original file and apply the highlighting to a new file via conditional formatting. This is because the original file is not conditionally formatted, but rather manually formatted. However, when I want to build a new file using the conditionally formatted file, the formatting is no longer detected using xslx_formats.
The text was updated successfully, but these errors were encountered: