<?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 URGENT MACRO HELP! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440524#M164194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a macro that takes a screen shot of a sheet and then sends it to excel. However, if the model is not active on the sheet, it cant take a screenshot. It come through blank. I have tried ActiveDocument.GetSheet("").Activate before the screenshot to activate the sheet but it doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 08:24:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-05T08:24:56Z</dc:date>
    <item>
      <title>URGENT MACRO HELP!</title>
      <link>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440524#M164194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a macro that takes a screen shot of a sheet and then sends it to excel. However, if the model is not active on the sheet, it cant take a screenshot. It come through blank. I have tried ActiveDocument.GetSheet("").Activate before the screenshot to activate the sheet but it doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 08:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440524#M164194</guid>
      <dc:creator />
      <dc:date>2013-06-05T08:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT MACRO HELP!</title>
      <link>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440525#M164195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To activate a sheet use something like:&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("Main").Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should create a 'screenshot' of the sheet with the name Main:&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("Main").CopyBitmapToClipboard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 09:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440525#M164195</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-05T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT MACRO HELP!</title>
      <link>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440526#M164196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to sort of the Activate part, although I need a timeout period to allow the sheet to activate. I have tried:&lt;/P&gt;&lt;P&gt;" ActiveDocument.GetApplication.WaitForIdle 1000 " but Qlikview seems to hang on waitforidle. Seems to be a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way around that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 09:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/URGENT-MACRO-HELP/m-p/440526#M164196</guid>
      <dc:creator />
      <dc:date>2013-06-05T09:09:48Z</dc:date>
    </item>
  </channel>
</rss>

