wordpress hit counter
Welcome to OpenXML Developer Sign in | Join | Help

Copy Excel Chart To PowerPoint

Last post 08-10-2009, 5:40 AM by goodol. 1 replies.
Sort Posts: Previous Next
  •  07-02-2009, 12:11 PM 7103

    Copy Excel Chart To PowerPoint

    Hi there,

    I need to copy a chart from an excel file (from a specific sheet-e.g. sheet 2) and paste it onto a specific slide (e.g. third slide) in a presentation.

    I can't seem to find an example even just to get started. Could you please help?

    There's a method, XLExportChart, in the example here:

    http://msdn.microsoft.com/en-us/library/bb739834.aspx#ManipulateOpenXMLExcelPowerPoint_ExportaChartfromaWorksheet

    But for some reason, the example is for WordProcessingDocument instead of PresentationDocument. And I can't seem to get it to work when I tried to translate this code for PresentationDocument. Thanks in advance if you could help me out!

    Thanks
    Furious_Rabbit
  •  08-10-2009, 5:40 AM 7318 in reply to 7103

    Re: Copy Excel Chart To PowerPoint

    Hi there,

    There's a article talking about copying charts from Spreadsheet to Word documents. You may take a look at it: http://blogs.msdn.com/brian_jones/archive/2009/03/13/importing-charts-from-spreadsheets-to-wordprocessing-documents.aspx

View as RSS news feed in XML