C# Programming
03-28-2009, 10:20 PM
Following line of code works fine with Vista/Excel 2007 but gives exception with XP SP2/ Excel 2003.
Here oChartArea is Excel ChartArea object. I am trying to select the chart drawn and then copy it to clipboard.
oChartArea.GetType().InvokeMember("Select", BindingFlags.InvokeMethod, null, oChartArea, null);
Any suggestions?
?? ????
Here oChartArea is Excel ChartArea object. I am trying to select the chart drawn and then copy it to clipboard.
oChartArea.GetType().InvokeMember("Select", BindingFlags.InvokeMethod, null, oChartArea, null);
Any suggestions?
?? ????