ostra has asked for the wisdom of the Perl Monks concerning the following question:
I am using Spreadsheet::WriteExcel module. And, I keep getting an error message called"unknown method: spreadsheet::write::format::set_big_color" excel I code for color formatting. Can somebody point out what is wrong with the code?
#! perl -w use strict; use warnings; use 5.014; use Spreadsheet::WriteExcel; my $workbook=Spreadsheet::WriteExcel->new('perl1.xls'); my $worksheet=$workbook->add_worksheet(); my $red_background=$workbook ->add_format( color => 'white', big_color => 'red', bold => 1, ); $worksheet->write(0,0,'colored cell',$red_background);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Spreadsheet::WriteExcel module
by stefbv (Priest) on Feb 08, 2014 at 18:41 UTC |