Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Excel Formatting

by PerlSufi (Pilgrim)
on Apr 22, 2013 at 19:42 UTC ( #1029965=note: print w/ replies, xml ) Need Help??


in reply to Re: Excel Formatting
in thread Excel Formatting

Hi Count, thanks so much for the input! However, I am still getting the column J and not getting my currency format when I try that..?


Comment on Re^2: Excel Formatting
Re^3: Excel Formatting
by PerlSufi (Pilgrim) on Apr 22, 2013 at 19:46 UTC
    UPDATE:Actually replacing that while statement with my previous one worked to remove J column, but I still don't have the currency format.
Re^3: Excel Formatting
by CountOrlok (Friar) on Apr 22, 2013 at 20:46 UTC
    You are applying the currency format at the end, after you have written all the data? (before closing the file, of course).
      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://1029965]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-07-30 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls