in reply to Spreadsheet::WriteExcel: How to create a line breaks in a single cell?
my $wb = Spreadsheet::WriteExcel->new('tmp.xls'); my $format = $wb->add_format(); $format->set_text_wrap() ; my $ws = $wb->add_worksheet(); $ws->write(0, 0, "This is\na multiline cell", $format); $wb->close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::WriteExcel: How to create a line breaks in a single cell?
by pat_mc (Pilgrim) on Sep 22, 2011 at 17:28 UTC |