Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Excel chart enumeration and editing

by davies (Vicar)
on Jun 26, 2014 at 22:23 UTC ( #1091409=note: print w/ replies, xml ) Need Help??


in reply to Excel chart enumeration and editing

You haven't shown us what you have tried, which means it's harder to guide you. A general rule is that ANYTHING that can be done on the face of the spreadsheet (i.e. excluding VBA) can be done from Perl via Win32::OLE. You might want to have a look at Re: pie chart color -- Win32::OLE for some code where I set up & then play around with a chart. Each workbook has a charts collection. If you know the index of the chart you want, you can point to it with something like $wb->charts($index) and then add or change the settings at your whim.

Regards,

John Davies


Comment on Re: Excel chart enumeration and editing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-08-28 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (337 votes), past polls