I have a script that appends data to a journal but I would like to color the table numbers based on the value. I know there is away to color by doing the following:
Preferences(
Conditional Formatting Rules(
RuleSet(
RuleName( "Yield Check" ),
GreaterThan( Value( 70.0 ), Inclusive( 1 ), Format( Text Color( "Black" ), FontStyle( Bold ), Back Color( 73 ) ) ),
GreaterThan( Value( 85.0 ), Inclusive( 1 ), Format( Text Color( "Black" ), FontStyle( Bold ), Back Color( 4 ) ) ),
LessThan( Value( 70.0 ), Inclusive( 0 ), Format( Text Color( "Black" ), FontStyle( Bold ), Back Color( 3 ) ) )
)
)
);
The problem is that the script doesn't evaluate the second GreaterThan line. I know you can go into the prefeneces settings and edit the rule manually but I would like to do this in script. I just want to know if there is a way to code in 70< x < 85 turns yellow.
Thanks for the help.