GuiPerl has asked for the wisdom of the Perl Monks concerning the following question:
$worksheet->set_row( 8, 0 ); $worksheet->set_column( 'A:B', 30 ); $worksheet->set_border('A:B',30); # Set borders on this range $worksheet->set_top('A:B',30); #Set border only to top my $format_box = $workbook->add_format( border => 1, underline => 0, color => 'black', align => 'left', valign => 'top', );
Neither approaches work. What am I doing wrong?my $format_box = $workbook->add_format( #border => 1, underline => 0, color => 'black', align => 'left', valign => 'top', ); $format_box = set_border(1); # Turn on borders $format_box = set_top(1); # Set value to true
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adding Borders to Cells using Excel::Writer::XLSX
by roboticus (Chancellor) on Jul 07, 2014 at 15:37 UTC | |
by GuiPerl (Acolyte) on Jul 07, 2014 at 17:14 UTC | |
by poj (Abbot) on Jul 07, 2014 at 17:23 UTC |