<?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 Export Graphic Chart to Excel? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164428#M37124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt, ive seen this idea before(sorry not to mention it) and i believe that it works for my purpose.&lt;/P&gt;&lt;P&gt;But what i'm trying to do is something automatic... Thats why im using the "status" function, to call the 'active' chart(not minimzed). I know that Qlikview already do that by default, but i want to do the exact same thing with multiple charts. And in this case that you posted, all charts are pre defined.&lt;/P&gt;&lt;P&gt;I was wondering if its possible to do, maybe an 'if' state in my macro... something like&lt;/P&gt;&lt;P&gt;if obj.GetObjectType = "10" or "11"&lt;/P&gt;&lt;P&gt;obj.ExportBiff("c:\qlikview\teste_"&amp;amp;conteudo&amp;amp;".xls")&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;obj.ExportBitmapToFile("c:\qlikview\teste_"&amp;amp;conteudo&amp;amp;".bmp")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then merge those files&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Im not a expert in macros, but i believe i can edit some things on that code to get what i want(it will take some time hehe)...&lt;/P&gt;&lt;P&gt;I dont know if i am being clear... but thanks for your answer =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2011 14:07:15 GMT</pubDate>
    <dc:creator>gradiske</dc:creator>
    <dc:date>2011-03-16T14:07:15Z</dc:date>
    <item>
      <title>Export Graphic Chart to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164426#M37122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, i got a question.&lt;/P&gt;&lt;P&gt;Im trying to do something really simple i guess...&lt;/P&gt;&lt;P&gt;A simple code that its working for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub Printeste&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject(Status)&lt;/P&gt;&lt;P&gt;conteudo = Day(Date) &amp;amp; "-" &amp;amp; Month(Date) &amp;amp; "-" &amp;amp; Year(Date)&lt;/P&gt;&lt;P&gt;obj.ExportBiff("c:\qlikview\test_"&amp;amp;conteudo&amp;amp;".xls")&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;since "status" is a function that calls the sheet that is not minimized. With normal charts it is working good. But my problem comes when i have to export Graphic Charts...&lt;/P&gt;&lt;P&gt;ive been searching for a while, here in qlikview community also, that i have to use "ExportBitmapToFile"... but, i have to save it as jpg or bmp, right?&lt;/P&gt;&lt;P&gt;So my question is, there's a way to use ExportBitmapToFile and 'merge' this image to a XLS?&lt;/P&gt;&lt;P&gt;This is my first macro actually, so, my next step(at least i was pretending) is to call 2 charts to a XLS file, a normal chart and a graphic chart. It would be awesome if there's a way to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 13:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164426#M37122</guid>
      <dc:creator>gradiske</dc:creator>
      <dc:date>2011-03-16T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Export Graphic Chart to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164427#M37123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This process should help you out (not created by me):&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or from the Share Qlikviews:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/media/p/168157.aspx"&gt;http://community.qlik.com/media/p/168157.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 13:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164427#M37123</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-03-16T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Export Graphic Chart to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164428#M37124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt, ive seen this idea before(sorry not to mention it) and i believe that it works for my purpose.&lt;/P&gt;&lt;P&gt;But what i'm trying to do is something automatic... Thats why im using the "status" function, to call the 'active' chart(not minimzed). I know that Qlikview already do that by default, but i want to do the exact same thing with multiple charts. And in this case that you posted, all charts are pre defined.&lt;/P&gt;&lt;P&gt;I was wondering if its possible to do, maybe an 'if' state in my macro... something like&lt;/P&gt;&lt;P&gt;if obj.GetObjectType = "10" or "11"&lt;/P&gt;&lt;P&gt;obj.ExportBiff("c:\qlikview\teste_"&amp;amp;conteudo&amp;amp;".xls")&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;obj.ExportBitmapToFile("c:\qlikview\teste_"&amp;amp;conteudo&amp;amp;".bmp")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then merge those files&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Im not a expert in macros, but i believe i can edit some things on that code to get what i want(it will take some time hehe)...&lt;/P&gt;&lt;P&gt;I dont know if i am being clear... but thanks for your answer =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 14:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164428#M37124</guid>
      <dc:creator>gradiske</dc:creator>
      <dc:date>2011-03-16T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Export Graphic Chart to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164429#M37125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok guys, i've found an example and changed it a little to make it automatic. here it goes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub fazerxl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Doc = ActiveDocument&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set DocProp = Doc.GetProperties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory = DocProp.MyWorkingDirectory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc.GetApplication.Refresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set AppExcel = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Visible = False&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.WorkBooks.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set s=ActiveDocument.ActiveSheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objs=s.GetSheetObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=lbound(objs) to ubound(objs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not(objs(i).IsMinimized) then&lt;/P&gt;&lt;P&gt;select case objs(i).GetObjectType&lt;/P&gt;&lt;P&gt;case 10,11,12,13,14,15,16,20,21,22,27,28,37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set objInt = objs(i)&lt;/P&gt;&lt;P&gt;id = replace(objInt.GetObjectId,"Document\","")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set plan = Doc.GetSheetObject(id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Sheets.Add()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Name = id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Cells(1,1).Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select case objs(i).GetObjectType&lt;/P&gt;&lt;P&gt;case 10,11&lt;/P&gt;&lt;P&gt;plan.CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;case 12,13,14,15,16,20,21,22,27,28,37&lt;/P&gt;&lt;P&gt;plan.CopyBitMapToClipboard&lt;/P&gt;&lt;P&gt;end select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.Columns("A").AutoFit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.getApplication.sleep 5000&lt;/P&gt;&lt;P&gt;end select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;salvar = Directory &amp;amp; "\testes" &amp;amp; Day(Now) &amp;amp; "-" &amp;amp; Month(Now) &amp;amp; "-" &amp;amp; Year(Now) &amp;amp; "-" &amp;amp; Hour(Now) &amp;amp; ".XLS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.ActiveSheet.SaveAs (salvar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppExcel.Quit&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the idea is... get all charts not minimized, and put every each one in a particular sheet in the Excel.&lt;/P&gt;&lt;P&gt;It was working good so far doing my tests... but, sometimes i got an error on "AppExcel.ActiveSheet.Paste"&lt;/P&gt;&lt;P&gt;Im trying here doing some tests why in some charts i got this error... but if anyone got an idea about it... let me know, ok =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164429#M37125</guid>
      <dc:creator>gradiske</dc:creator>
      <dc:date>2011-03-17T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Export Graphic Chart to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164430#M37126</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;Just a quick question in the reverse direction. Is it possible to export a chart from &lt;STRONG&gt;EXCEL to QLIKVIEW?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this is not a place ask this question yet awaiting answers for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 10:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-Graphic-Chart-to-Excel/m-p/164430#M37126</guid>
      <dc:creator />
      <dc:date>2016-12-14T10:42:09Z</dc:date>
    </item>
  </channel>
</rss>

