SamCG has asked for the wisdom of the Perl Monks concerning the following question:
Does anyone know how to get these values to come out on separate lines, when first opening the spreadsheet? I'm just about ready to go and write this whole thing in html, then slap an xls extension on it -- except that file sizes seem to balloon ridiculously when that's done.$Text::Wrap::columns = 35; my $q = wrap ('','',$qa{$isin}) if defined $qa{$_}; my $i = wrap ('','',$ib{$isin}) if defined $ib{$isin}; my $j = wrap ('','',$jk{$isin}) if defined $jk{$isin}; my $d = wrap ('','',$da{$isin}) if defined $da{$isin}; push @data, [$q, $i, $j, $d]; $row++; ## $dd is a "Delta_Days" value from Date::Calc $worksheet->set_row($row-1, undef, $new) if $dd <= 7; $worksheet->set_row($row-1, 60, $notnew) if $dd > 7 and $dd <=14; $worksheet->set_row($row-1, 60, $stale) if $dd > 14; $worksheet->write('A'.$row, \@data);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Excel single cell line breaks
by jmcnamara (Monsignor) on Dec 14, 2005 at 21:16 UTC | |
|
Re: Excel single cell line breaks
by dragonchild (Archbishop) on Dec 14, 2005 at 22:14 UTC |