note
choroba
It's just a mistake in the documentation. Use <c>set_color</c> instead.<P>
Also, you need to specify the format as the third argument to <c>write</c> in order to use it:
<c>
$format->set_color( 'red' );
$worksheet->write( 'A1', 'test', $format );
</c><P>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-832495">
<c>map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]</c>
</div></div><!-- Wiki2Monks {"version":1.16} -->
11114195
11114195