Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2015-07-28 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls