Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following problem:
We have to create excel charts automatically, based on some "templates" made by the user, who has the possibility to define how some charts should look like. I want to open the template automatically, read all properties of the existing chart-objects and recreate them based on some new data fetched from a webservice; especially based on one chart I have to create let's say 100 similar charts with other data. But I cannot manage to read all properties of an excel-chart automatically without fetching each property explicitely. If I could do so, I could save all the chart's properties in an XML-file and assign these properties again when creating the new charts == I even cannot manage to assign all properties automatically, how is this done?? Thanks in advance Greetings Stefan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Stefan -
You could copy the chart and paste it elsewhere, then update the data source of the pasted chart. Longer term, you could save the chart as a user-defined custom type, and apply it when creating a new chart based on different data. - Jon ------- Jon Peltier, Microsoft Excel MVP http://www.geocities.com/jonpeltier/Excel/index.html _______ Stefan Walther wrote: I have the following problem: We have to create excel charts automatically, based on some "templates" made by the user, who has the possibility to define how some charts should look like. I want to open the template automatically, read all properties of the existing chart-objects and recreate them based on some new data fetched from a webservice; especially based on one chart I have to create let's say 100 similar charts with other data. But I cannot manage to read all properties of an excel-chart automatically without fetching each property explicitely. If I could do so, I could save all the chart's properties in an XML-file and assign these properties again when creating the new charts == I even cannot manage to assign all properties automatically, how is this done?? Thanks in advance Greetings Stefan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
link excel charts to web pages and update charts automatically | Charts and Charting in Excel | |||
pie charts automatically exclude zero values | Charts and Charting in Excel | |||
Help with Comparing values and retrieving values in Excel!!!!!! | Excel Worksheet Functions | |||
change default chart settings for new excel charts automatically | Charts and Charting in Excel | |||
adding new x & y values to charts automatically | Charts and Charting in Excel |