<?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 Re: How to paste chart in particular PowerPoint shape in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-paste-chart-in-particular-PowerPoint-shape/m-p/1561347#M441328</link>
    <description>&lt;P&gt;If you take a closer look at the Microsoft PowerPoint Object Model you will find that there is no "Paste" method for a "Slide" object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PPSlide.Shapes&lt;/SPAN&gt;&lt;STRONG&gt;(3)&lt;/STRONG&gt;&lt;SPAN&gt;.Paste&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cannot work...&lt;/P&gt;&lt;P&gt;Furthermore the With statement should be used with an object and not on a method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Shapes object however has a Paste method so something like this might work:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Set pastedShape = PPSlide.Shapes.Paste&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;With pastedShape&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .LockAspectRatio = False&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Left = 510&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Top = 130&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Width = 374&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Height = 165&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;End With&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 13:32:25 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2019-03-26T13:32:25Z</dc:date>
    <item>
      <title>How to paste chart in particular PowerPoint shape</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-paste-chart-in-particular-PowerPoint-shape/m-p/1561308#M441325</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I paste chart in particular shape in PPT slide?&lt;/P&gt;&lt;P&gt;This is part of code:&lt;/P&gt;&lt;P&gt;Set CurrChart = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;CurrChart.Restore&lt;BR /&gt;CurrChart.Activate&lt;BR /&gt;APP.Sleep 360&lt;BR /&gt;ActiveDocument.GetSheetObject("CH01").CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;With PPSlide.Shapes&lt;STRONG&gt;(3)&lt;/STRONG&gt;.Paste&amp;nbsp;&lt;BR /&gt;.LockAspectRatio = false&lt;BR /&gt;.Left = 510&lt;BR /&gt;.Top = 130&lt;BR /&gt;.Width = 374&lt;BR /&gt;.Height = 165&lt;BR /&gt;End With&lt;/P&gt;&lt;P&gt;I want to paste chart in shape 3, but it is not working - script stops and macro edit module opens.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 12:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-paste-chart-in-particular-PowerPoint-shape/m-p/1561308#M441325</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2019-03-26T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to paste chart in particular PowerPoint shape</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-paste-chart-in-particular-PowerPoint-shape/m-p/1561347#M441328</link>
      <description>&lt;P&gt;If you take a closer look at the Microsoft PowerPoint Object Model you will find that there is no "Paste" method for a "Slide" object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PPSlide.Shapes&lt;/SPAN&gt;&lt;STRONG&gt;(3)&lt;/STRONG&gt;&lt;SPAN&gt;.Paste&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cannot work...&lt;/P&gt;&lt;P&gt;Furthermore the With statement should be used with an object and not on a method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Shapes object however has a Paste method so something like this might work:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Set pastedShape = PPSlide.Shapes.Paste&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;With pastedShape&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .LockAspectRatio = False&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Left = 510&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Top = 130&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Width = 374&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; .Height = 165&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;End With&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 13:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-paste-chart-in-particular-PowerPoint-shape/m-p/1561347#M441328</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-03-26T13:32:25Z</dc:date>
    </item>
  </channel>
</rss>

