wordpress hit counter
Re: Copy a chart from Excel to a specific slide in powerpoint - PresentationML - Formats - OpenXML Developer

Re: Copy a chart from Excel to a specific slide in powerpoint

Formats

Discussions about working with different Open XML Formats

Copy a chart from Excel to a specific slide in powerpoint

  • rated by 0 users
  • This post has 1 Reply |
  • 2 Followers
  • Hi

    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

     

     

     

  • Hi Matt,

    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.

    Pranay..

Page 1 of 1 (2 items)