I want to select existing Chart in Excel using C#.
I have a chart Object in my excel file which I want to read it and also Edit it.
I only know to add new chart which is by doing something like this
ChartObjects ChartObjs = null;
ChartObject ChartObj = null;
ChartObj = ChartObjs.Add(0, 10, 250, 170);
I am using VS 2005 and C#
To select an active chart in excel one can use this code
based on this one can edit the chart and format it.Like changing its datarange or formatting its color or height or width etc etc.
Hope this helps