in reply to Re^3: Extract Excel graphs
in thread Extract Excel graphs

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: Extract Excel graphs
by furry_marmot (Pilgrim) on Oct 03, 2011 at 01:13 UTC

    Dude, do you want to export the graphs as images all at once and then have those images available for viewing? Do you want to export them on the fly? Is there a static set of spreadsheets around? Or are these spreadsheets created on a regular basis? From this data, you can determine what will be your best path.

    But what you're doing is like saying, "I want to fly. How do I do that?" Uh....buy a plane ticket? Buy a plane? Get a jet pack? Get fired out of a cannon?

    Ask a question poorly, and you'll be guaranteed nothing but poor answers. And by the way, from what I've been able to find, you can't do this from Perl -- at least not the way you've described so far. But you might look into writing a macro in OpenOffice.

    --marmot
      Hi

      let me be clear

      I have an excel which has number of sheets in it. Each sheet has number of graphs. I want a script which can extract all the graphs from all the sheets in the above mentioned excel as image.

      Regards.

        The functionality to export or copy the graphs as images lies in the Excel application. You're best bet is to extract the images on a Windows machine. If that is absolutely not possible, then try the OpenOffice.org API.

        Depending how many charts there are, and if you have access to a Windows machine, it might actually be faster to just copy them all to the clipboard, one by one, and paste them into Paint or Photoshop or IrfanView or whatever. This works quite well.

        Good luck!

        --marmot