Dear All,
I am generating PPT slides with multiple charts on a single slide using C# and com library Microsoft.Office.Interop.PowerPoint.
I have tested it on both office 2010 and office 2013. But sometimes get error :" Error HRESULT E_FAIL has been returned from a call to a COM component". This error occurance is dynamic i.e sometimes happen sometimes not.
Also above error mostly comes at below line of code at Microsoft.Office.Interop.PowerPoint.Chart.SetElement(MsoChartElementType Element).
Please provide solution.
Thanks,
Naveen