in reply to Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?
Excel stores formulas in two parts. The first in a pre-parsed stack of RPN tokens that the Excel formula parser uses and the second is the value of the formula when it was last evaluated (generally when the workbook was saved).
Spreadsheet::ParseExcel ignores the first part (a general deparser is a little too tricky to implement) and just reads the result part. This is usually okay for applications that read an Excel file but isn't very useful if you are trying to re-write a file since the formula is effectively lost. This is currently the case with Spreadsheet::ParseExcel::SaveParser.
So it isn't the case that your formulas aren't being evaluated at the right time. They aren't evaluated at all.
Currently, there isn't a workaround for this. I have some plans for solutions that might be implemented in the future but they are either non-trivial or potentially error prone and neither will happen in the short term, unfortunately.
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?
by Anonymous Monk on Jan 24, 2012 at 09:44 UTC | |
by jmcnamara (Monsignor) on Jan 24, 2012 at 09:53 UTC | |
by Anonymous Monk on Jan 24, 2012 at 10:09 UTC | |
by guptasonal (Initiate) on Nov 07, 2012 at 05:27 UTC |