Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 romping around the Monastery: (13)
As of 2014-11-24 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls