<?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 Copy To Clipboard in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350391#M129840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What error you are getting?&amp;nbsp; Is MS PowerPoint installed in your machine, this works only if PowerPoint is installed in the machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 09:33:45 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2012-04-13T09:33:45Z</dc:date>
    <item>
      <title>Copy To Clipboard</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350390#M129839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have written this Macro for copying the active charts out of these 5 to the clipboard. But it is giving me error. Please tell me where i am doing mistake ??&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;Sub CopyToClipboard&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Dim myArray(4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; myArray(0) = "CH05"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; myArray(1) = "CH32"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; myArray(2) = "CH23"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; myArray(3) = "CH15"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; myArray(4) = "CH04"&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set objPPT = CreateObject("PowerPoint.Application")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; objPPT.Visible = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set objPresentation = objPPT.Presentations.Add&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; For each item in myArray&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; if ActiveDocument.GetSheetObject(item).IsActive then&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set PPSlide = objPresentation.Slides.Add(1,11)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; PPSlide.Shapes.Paste&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; end if&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Next&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set PPSlide = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set PPPres = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; Set PPApp = Nothing&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt; End Sub &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 06:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350390#M129839</guid>
      <dc:creator />
      <dc:date>2012-04-13T06:22:00Z</dc:date>
    </item>
    <item>
      <title>Copy To Clipboard</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350391#M129840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What error you are getting?&amp;nbsp; Is MS PowerPoint installed in your machine, this works only if PowerPoint is installed in the machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 09:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350391#M129840</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-04-13T09:33:45Z</dc:date>
    </item>
    <item>
      <title>Copy To Clipboard</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350392#M129841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Sometimes, with this type of operation there is an error when QV moves too fast from one command to the other. &lt;/P&gt;&lt;P&gt;I suggest you include some sleep and waitforidle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, try this: &lt;/P&gt;&lt;P&gt;Set PPSlide = objPresentation.Slides.Add(1,11)&lt;/P&gt;&lt;P&gt; ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;&lt;P&gt;&amp;nbsp; PPSlide.Shapes.Paste&lt;/P&gt;&lt;P&gt; ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt; ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it works, you can try the script with just the waitforidle or reduce the sleep time (milisecond) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 15:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-To-Clipboard/m-p/350392#M129841</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-04-13T15:28:50Z</dc:date>
    </item>
  </channel>
</rss>

