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