locked_user satishkambam has asked for the wisdom of the Perl Monks concerning the following question:

Hi, How to open a xlsheet in perl . I have a xlsheet name called : results.xls . i want to open this xlsheet and i need to update it with some info . Can you please help me on it . thank you .

Replies are listed 'Best First'.
Re: How to open existing Worksheet(xls) in Perl
by marto (Cardinal) on Nov 14, 2011 at 12:16 UTC

        Thanks for pointing out the typo (fixed) and for letting me know about Spreadsheet::Read.

      Hi , By using this module we cannot get the proper output. graphs and some other features in the original Excel file will be lost Also, formulas aren't rewritten, only the result of a formula is written. can you help me on this ..

        The documentation states:

        "However, you can only rewrite the features that Spreadsheet::WriteExcel supports so macros, graphs and some other features in the original Excel file will be lost. Also, formulas aren't rewritten, only the result of a formula is written."

        And later:

        "If there is some feature of an Excel file that you really, really need then you should use Win32::OLE with Excel on Windows. If you are on Unix you could consider connecting to a Windows server via Docserver or SOAP, see Writing Excel Files."

Re: How to open existing Worksheet(xls) in Perl
by Ratazong (Monsignor) on Nov 14, 2011 at 12:32 UTC