Copying Chart data from Excel 2007 to Word 2007 Content Control RRS feed

  • Question


    I need to copy charts from Excel worksheets to Word 2007 within a content control.

    Is there any way this can be achieved through dot net code.


    I am accessing Excel & Word Documents using Open XML.

    Wednesday, March 12, 2008 5:59 PM

All replies

  • I am running into the same problem. Does anyone have an idea? I have developed a PowerPoint Addin using VSTO v3 and PowerPoint 2007. I need to export an exiting Excel chart to the placeholder in PowerPoint.

    Any ideas?

    Monday, March 2, 2009 11:31 PM
  • I think there are two steps for you to accomplish it:
    1. retrive the chart object from the exsiting .xlsx file.
    2. add a EmbeddedPackagePart to the pptx file, which contains the content of that chart obejct.

    DocumentReflector tool may help you to generate the document in C# codes. 
    Monday, March 9, 2009 6:56 AM