Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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).

Comment on Re^3: Excel Formatting
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 imbibing at the Monastery: (5)
As of 2015-10-10 05:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls