Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 ( #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
Node Status?
node history
Node Type: note [id://949621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-12-01 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?