http://qs321.pair.com?node_id=1009202

gw1500se has asked for the wisdom of the Perl Monks concerning the following question:

I have a script that is working fine but I need to add one more touch. Given a certain cell content, I need to make the background color of that cell yellow. I have spent hours trying to use various things none of which work. This is what I am trying now.
my $format=$sheet->get_cell($i,$j)->get_format(); $format->set_color('yellow');
All I get is a null pointer error on the 2nd line. Can someone help? TIA.