<?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 Strange problem with &amp;quot;CopyBitmapToClipboard&amp;quot;. Please Help!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Strange-problem-with-quot-CopyBitmapToClipboard-quot-Please-Help/m-p/394586#M147132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm in trouble with a macro that creates a PPT.&lt;/P&gt;&lt;P&gt;Everything WORKS fine till I select a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sheet with a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't select a field the Macro works perfectly and create 30 PPT'S with a slide containing my pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if instead, I select a field of my cloud, the macro goes in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is in this line of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets(1).Activate&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I insert these two rows I get an error in the line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No WAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired using SLEEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NO WAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can't use ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that if i put a msgbox ("HI") &lt;/P&gt;&lt;P&gt;just before the line&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT WORKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I say it again. I have this problem ONLY if i select a field. EVERY Field of my cloud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me&lt;/P&gt;&lt;P&gt;I'm going craizy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Qlik Version is 11.20.11643.0 IR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 11:12:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-24T11:12:01Z</dc:date>
    <item>
      <title>Strange problem with "CopyBitmapToClipboard". Please Help!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-problem-with-quot-CopyBitmapToClipboard-quot-Please-Help/m-p/394586#M147132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm in trouble with a macro that creates a PPT.&lt;/P&gt;&lt;P&gt;Everything WORKS fine till I select a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sheet with a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't select a field the Macro works perfectly and create 30 PPT'S with a slide containing my pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if instead, I select a field of my cloud, the macro goes in error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is in this line of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets(1).Activate&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I insert these two rows I get an error in the line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No WAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired using SLEEP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NO WAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can't use ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that if i put a msgbox ("HI") &lt;/P&gt;&lt;P&gt;just before the line&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(objId).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT WORKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I say it again. I have this problem ONLY if i select a field. EVERY Field of my cloud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me&lt;/P&gt;&lt;P&gt;I'm going craizy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Qlik Version is 11.20.11643.0 IR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 11:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-problem-with-quot-CopyBitmapToClipboard-quot-Please-Help/m-p/394586#M147132</guid>
      <dc:creator />
      <dc:date>2013-04-24T11:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem with "CopyBitmapToClipboard". Please Help!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-problem-with-quot-CopyBitmapToClipboard-quot-Please-Help/m-p/394587#M147133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I solved the problem.&lt;/P&gt;&lt;P&gt;I was testing the macro using the button TEST.&lt;/P&gt;&lt;P&gt;Creating a button with action my Macro everything went ok.&lt;/P&gt;&lt;P&gt;I don't know why this happen but hope this thread can be useful to someone else.&lt;/P&gt;&lt;P&gt;The ActiveDocument.GetApplication.WaitForIdle command is working fine too in this way.&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giampiero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-problem-with-quot-CopyBitmapToClipboard-quot-Please-Help/m-p/394587#M147133</guid>
      <dc:creator />
      <dc:date>2013-04-24T14:08:04Z</dc:date>
    </item>
  </channel>
</rss>

