I have an excel file which contains some data and a chart on Sheet1.
I also have a Powerpoint presentation which contains 3 slides. I would like to replace the chart on Slide #2 with the chart from the excel file. Please note that neither my excel sheet nor my Powerpoint slides contain titles.
The following console application code (C#) that I copy has the following problems
1) Whne I try to open the Powerpoint (.pptx) file I get a error "Powepoint found a problem with content in <filename>
2) I also think that the correct Chart is not getting replaced.
Any help will be appreciated
PS. I was not able to insert code. (Not sure how this works) So I have attached the source file and the dependant xlsx and pptx files
I am not very much clear about your problem from your explanation.
seems you have done some coding but not working properly.
I have done similar task recently.
So, If you ca share your source code as well templates which u r using. I can look into your problem.