<?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: Copy container as a picture in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378458#M572378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn´t know that, do you know what is the behaviour of functions Activate, Restore and WaitForIdle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m glad to be helpfull, I hope you get the full solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2012 12:51:02 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-08-20T12:51:02Z</dc:date>
    <item>
      <title>Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378455#M572375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to copy a container an all objects in as a picture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an option, but does'nt seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20284" class="jive-image" alt="2012-08-16_124550.png" src="https://community.qlik.com/legacyfs/online/20284_2012-08-16_124550.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laurent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 10:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378455#M572375</guid>
      <dc:creator />
      <dc:date>2012-08-16T10:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378456#M572376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never tried it but may be with a macro? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a lot of examples to crear an Excel Application object and copy-paste objects, the next two lines are to get the object container, you need to use the ID of your container &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px;"&gt;"CTXX" and copy the object as bitmap but I´m not sure that this works with a container... you could use with the charts inside the container.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #636363; font-family: Arial;"&gt;Set ContainerObj= ActiveDocument.GetSheetObject("CT01") '&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContainerObj.&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;CopyBitmapToClipboard&lt;/SPAN&gt; true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #636363; font-family: Arial;"&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 17:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378456#M572376</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-08-17T17:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378457#M572377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had already try it but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To copy chart inside container via macro, need to activate and restore the container before copying chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ContainerObj = ActiveDocument.GetSheetObject("CTXX")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContainerObj.GetSheet().Activate()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContainerObj.Restore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set objSource = ActiveDocument.GetSheetObject("CHXXX")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objSource.Restore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objSource.CopyBitmapToClipboard()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 07:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378457#M572377</guid>
      <dc:creator />
      <dc:date>2012-08-20T07:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378458#M572378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn´t know that, do you know what is the behaviour of functions Activate, Restore and WaitForIdle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m glad to be helpfull, I hope you get the full solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 12:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378458#M572378</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-08-20T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378459#M572379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"ContainerObj.GetSheet().Activate()&amp;nbsp; " is to activate the sheet where the Object is in. Essential before select the object itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Restore" is like maximise and minimise the object but on the sise defined in properties, tab&amp;gt;legend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"WaitForIdle" is just to wait the refresh or calculating of the table or chart is done before copying it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To export into excel file, my base was the very good work of Stefan Walther:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#comment-75838"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#comment-75838&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378459#M572379</guid>
      <dc:creator />
      <dc:date>2012-08-20T13:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378460#M572380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amazing!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378460#M572380</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-08-20T13:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy container as a picture</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378461#M572381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have the same need and I had the same disappointing discovery of one of the few Qlikview bugs :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;copybitmaptoClipboard does not work on containers !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I work out a turn around this way :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;a: create a button &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;b: assign external / macro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;c: use the following code &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;sub Container_copy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Dim obj&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Dim fso&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;set obj = ActiveDocument.GetSheetObject("CT03")&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;obj.ExportBitmapToFile "c:\MyImage2.bmp"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Set objIE = CreateObject("InternetExplorer.Application")&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;objIE.Navigate("c:\MyImage2.bmp") &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Set WShell = CreateObject("WScript.Shell")&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;WShell.sendkeys "^a^c"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;'WScript.Sleep 250&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;WShell.SendKeys "%{F4}"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;fso.DeleteFile("c:\MyImage2.bmp")&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;set obj = nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;set fso = nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;end sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;This copies container image to a file and then opens the file in MSpaint / select it / copies it to clipboard / close MSpaint / erases the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;You can change the end to paste the clipbloard in MS Powerpoint, Word or excel ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 16:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-container-as-a-picture/m-p/378461#M572381</guid>
      <dc:creator>masselin</dc:creator>
      <dc:date>2013-03-13T16:31:12Z</dc:date>
    </item>
  </channel>
</rss>

