Calab wrote: ↑Sun Sep 01, 2024 9:58 pm
Thanks folks... This is more complicated than it's worth. I'll just do the formatting manually as I go. There isn't a lot of data anyhow.
OK.
However, this is not a solution to the question.
In addition the usage of colors for the described task or a similar one is not advisable. There are simply too few colors which the human eye (yours? mine? somebody elses?) can reliably distinguish - and the related abilities differ from person to person and depend on the used screen.
Anyway somebody coming to this topic based on the subject might be interested in a solution for the problem in the sense of
"How can visual attributes be applied without defining lots of conditionally applied styles?"
And/Or
"How can such attributes be actually set for cells automatically depending on a condition instead of just overlaying them by conditional formatting?"
For a wide range of roughly similar question, the answer is partly "You need user code."
My preferred extension would be "...and use templates."
How to do so is exemplified in the attached Calc doument.
It may not quite easy to apply it to a different case, and the contaioned code doesn:t come with a guarantee of any kind, nor is it really flexible.
Also: The
.Type property of
SearchDescriptor objects seems to be not documented. I used it based on a guess, and got what I wanted.
On Windows 10: LibreOffice 25.8.4 and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München