Hi, I want to produce a document with highlighted cell colours depending on the value in the cell (eg, a risk table, showing green/yellow/red) and am hitting problems because Google Docs doesn’t support conditional table cell backgrounds. Appsheet can only work from a non-macro-containing Word doc as email template apparently.
I can do this within the Google sheet, but that presents other issues. I can send the data to Excel, but only to a non-macro enabled sheet on 365 online, so I can’t a put a button in that to launch a templated word doc with the data. (MS Word does support conditional table cell colors via VBA.)
I guess I can point my user to the relevant folder in 365 and ask them to download the sheet, or even automate that download, but this seems clunky.
Interesting, thanks, but unfortunately insufficient - a standard risk table always has coloured cells in any industry I’ve ever worked in. Seems like quite a gap in the Appsheet offering this, as they apparently have left no stone unturned to ensure it cannot be done.
Are the cells that need to be shown red/yellow/green, need to have only cell colors with status colors or will those cells will also have some texts? Any samples possible? Of course it may not be possible but if it is only cell colors , some workarounds could be thought about.
Hi, thanks for replying. The cells need to have a numeric integer value and then they are either green, yellow or red background depending on that value.
The font solution directed to by @Aurelien above works, but yeah, it would be wonderful to have a cell background colour change solution.
Crushingly, you can get the data to Excel in Office 365 which of course does support conditional colours but you cannot run a VBA from there to a separate live document online!
I am sorry that it is a bit late here past 11 PM in my timezone. I will share the detailed approach tomorrow. Hope that is fine. I quickly tested that the approach works at basic level. A bit of detailing to make it flexible remains.
Yes, obviously it will show if that column is included in view and show_if for that column is enabled. If you do not wish to show it in the app, please either exclude that column from view or disable show_if for that column.
Oh that’s strange, I’ve got it working now just by not loading it in a table. Evidently there was something in the Word table that was blocking a thumbnail. Back to the drawing board!
Could you share more details ? Does the column show in the app? If so you may need to check your template expressions. Are correct rows where this column is populated are included in the template?