<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Excel charts/Pivot tables in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-charts-Pivot-tables/m-p/52870#M7675</link>
    <description>i have an excel sheet which contains charts in some sheets along with data. my requirement is to develop a process which automatically export those charts into a PPT document. how to do it. if anyone worked on pivot tables, please share your experience.</description>
    <pubDate>Fri, 27 Oct 2017 10:30:00 GMT</pubDate>
    <dc:creator>VenkatVattem</dc:creator>
    <dc:date>2017-10-27T10:30:00Z</dc:date>
    <item>
      <title>Excel charts/Pivot tables</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-charts-Pivot-tables/m-p/52870#M7675</link>
      <description>i have an excel sheet which contains charts in some sheets along with data. my requirement is to develop a process which automatically export those charts into a PPT document. how to do it. if anyone worked on pivot tables, please share your experience.</description>
      <pubDate>Fri, 27 Oct 2017 10:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-charts-Pivot-tables/m-p/52870#M7675</guid>
      <dc:creator>VenkatVattem</dc:creator>
      <dc:date>2017-10-27T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Sub PushChartsToPPT()</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-charts-Pivot-tables/m-p/52871#M7676</link>
      <description>Sub PushChartsToPPT()
    Dim ppt As PowerPoint.Application
    Dim pptPres As PowerPoint.Presentation
    Dim pptSld As PowerPoint.Slide
    Dim pptCL As PowerPoint.CustomLayout
    Dim pptShp As PowerPoint.Shape
    Dim cht As Chart
    Dim ws As Worksheet
    Dim i As Long
     Dim strPptTemplatePath As String
    strPptTemplatePath = ""File path""
    Set ppt = CreateObject(""PowerPoint.Application"")
    ppt.Visible = msoTrue
    Set pptPres = ppt.Presentations.Open(strPptTemplatePath, untitled:=msoTrue)
    For Each pptCL In pptPres.SlideMaster.CustomLayouts
        If pptCL.Name = ""Title and Content"" Then Exit For
    Next pptCL
    For Each cht In ActiveWorkbook.Charts
        Set pptSld = pptPres.Slides.AddSlide(pptPres.Slides.Count + 1, pptCL)
        pptSld.Select
        For Each pptShp In pptSld.Shapes.Placeholders
            If pptShp.PlaceholderFormat.Type = ppPlaceholderObject Then Exit For
        Next pptShp
        If pptShp Is Nothing Then Stop
        cht.ChartArea.Copy
        ppt.Activate
        pptShp.Select
        ppt.Windows(1).View.Paste
    Next cht
       For Each ws In ActiveWorkbook.Worksheets
        For i = 1 To ws.ChartObjects.Count
            Set pptSld = pptPres.Slides.AddSlide(pptPres.Slides.Count + 1, pptCL)
            pptSld.Select
        For Each pptShp In pptSld.Shapes.Placeholders
            If pptShp.PlaceholderFormat.Type = ppPlaceholderObject Then
                If pptShp.Left = 50 Then Exit For
            End If
        Next pptShp
            For Each pptShp In pptSld.Shapes.Placeholders
                If pptShp.PlaceholderFormat.Type = ppPlaceholderObject Then Exit For
            Next pptShp
            Set cht = ws.ChartObjects(i).Chart
            cht.ChartArea.Copy
            ppt.Activate
            pptShp.Select
            ppt.Windows(1).View.Paste
        Next i
    Next ws
End Sub</description>
      <pubDate>Wed, 15 Nov 2017 09:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-charts-Pivot-tables/m-p/52871#M7676</guid>
      <dc:creator>VenkatVattem</dc:creator>
      <dc:date>2017-11-15T09:12:00Z</dc:date>
    </item>
  </channel>
</rss>

