Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Excel Formatting

by CountOrlok (Friar)
on Apr 22, 2013 at 20:46 UTC ( #1029977=note: print w/replies, xml ) Need Help??

in reply to Re^2: Excel Formatting
in thread Excel Formatting

You are applying the currency format at the end, after you have written all the data? (before closing the file, of course).

Replies are listed 'Best First'.
Re^4: Excel Formatting
by PerlSufi (Friar) on Apr 22, 2013 at 20:54 UTC
    Yes. I have tried declaring
    my $trans_format = $workbook->add_format(); $trans_format->set_num_format('$0.00');
    where I set my other formats and after the while loop. I have also done $worksheet->set_column('I:I', undef, $trans_format); after the while loop. I can't figure it out..

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029977]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2016-10-24 17:22 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.