Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?

by Anonymous Monk
on Jan 24, 2012 at 09:44 UTC ( [id://949621]=note: print w/replies, xml ) Need Help??


in reply to Re: Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?
in thread Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?

Hi, i am using SaveParser to parse an existing spreadsheet and i am trying to add formula, its giving the following error. Please let me know the reason, because the same write_formula works fine with WriteExcel. Can't locate object method "write_formula" via package "Spreadsheet::ParseExcel::SaveParser::Worksheet" With regards, Suresh.K
  • Comment on Re^2: Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?

Replies are listed 'Best First'.
Re^3: Spreadsheet::SaveParser - how to preserve formulas during parse, evaluate during write ?
by jmcnamara (Monsignor) on Jan 24, 2012 at 09:53 UTC

    Spreadsheet::ParseExcel::SaveParser::Worksheet is not a subclass of Spreadsheet:WriteExcel::Worksheet so it doesn't have a write_formula() method.

    Spreadsheet::ParseExcel::SaveParser does return a Spreadsheet:WriteExcel object that you can use to access the write_formula() method instead.

    P.S. Please don't post new questions in reply to a thread that your question isn't related to.

    --
    John.

      Hi John, Thanks. I will open a new thread.

      John,
      
      Sorry for posting on the same thread, since I could not find any other related thread.
      
      Could you please give an example of writing formulas in Saveparser. I tried few things, all in vain. So please elaborate on the above mentioned solution.
      
      --
      Sonal
      

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found