in reply to Re: Adding Borders to Cells using Excel::Writer::XLSX
in thread Adding Borders to Cells using Excel::Writer::XLSX
This will add a border on the top and bottom cell.use strict; use warnings; use Excel::Writer::XLSX; my $workbook = Excel::Writer::XLSX->new( "Cell_Borders.xlsx" ); my $worksheet = $workbook->add_worksheet(); my $textbox1 ="Hello World!"; my $format_box = $workbook->add_format(); $format_box->set_top('5'); $format_box->set_bottom('5'); $worksheet->merge_range( 'A8:B8', "$textbox1", $format_box );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Adding Borders to Cells using Excel::Writer::XLSX
by poj (Abbot) on Jul 07, 2014 at 17:23 UTC |