Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Values of Formulas also not preserved with save parser ?

by wanna_code_perl (Pilgrim)
on Sep 06, 2013 at 14:26 UTC ( #1052719=note: print w/ replies, xml ) Need Help??


in reply to Values of Formulas also not preserved with save parser ?

I'm not sure what your question is, but the title of the node seems to indicate a question about preserving formula values. A quick check of the Spreadsheet::ParseExcel documentation turned up this section:

KNOWN PROBLEM

This module can not get the values of fomulas in Excel files made with Spreadsheet::WriteExcel. Normaly(sic) (ie. By Excel application), formula has the result with it. But Spreadsheet::WriteExcel writes formula with no result. If you set your Excel application "Auto Calculation" off. (maybe Tool-Option-Calculation or something) You will see the same result.

Does that address your problem?

Regarding your code itself, may I suggest you take a careful read through perlstyle and consider adopting many of its suggestions.

###################################################################### +##################################################################### +################ ####All the Formats will be described within this space############### +##################################################################### +#################

Finally, you have lines that are 155 characters long, which is rather hard to read. Perl is generally quite permissive with whitespace, so I suggest you insert some line breaks at logical places to keep your lines under 80 characters (or pick a different length, but IMHO 80 is plenty for Perl). Lines longer than that can be very hard to comprehend, even if someone happens to have their terminal/editor set wide enough to display them without breaks/scrolling.


Comment on Re: Values of Formulas also not preserved with save parser ?
Download Code
Re^2: Values of Formulas also not preserved with save parser ?
by bulk88 (Priest) on Sep 07, 2013 at 04:14 UTC

    Finally, you have lines that are 155 characters long, which is rather hard to read. Perl is generally quite permissive with whitespace, so I suggest you insert some line breaks at logical places to keep your lines under 80 characters (or pick a different length, but IMHO 80 is plenty for Perl). Lines longer than that can be very hard to comprehend, even if someone happens to have their terminal/editor set wide enough to display them without breaks/scrolling.

    I agree long lines are horrible, but with line wrapping, formatting characters on, and line numbers turned on, long lines are easier but not easy, to work with.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (22)
As of 2014-07-11 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls