Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 studying the Monastery: (18)
As of 2015-07-30 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls