I am trying to select the ChartArea using the Select method through reflection in C#. This is the line of code I am using:
oChartArea.GetType().InvokeMember("Select", BindingFlags.InvokeMethod, null, oChartArea, null);
Here, oChartArea is the ChartArea object.
This works perfectly fine in Vista/Office 2007 but throws exception in XP SP2/ Office 2003. Any suggestions?