in reply to Excel - how do I format negative Costs in Red
.... $Sheet->Range("A1")->{Value} = '$5.00'; $Sheet->Range("B1")->{Value} = '$-3.51'; $Sheet->Range("C1")->{Value} = '$-0.01'; my $selection = $Sheet->Range("A1:C1"); $selection->{FormatConditions}->Delete; $selection->{FormatConditions}->Add(xlCellValue, xlLess, "0"); $selection->FormatConditions(1)->Font->{ColorIndex} = 3; ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Excel - how do I format negative Costs in Red
by merrymonk (Hermit) on Feb 02, 2010 at 14:40 UTC |