<?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: Export to Excel - Chart &amp; Table - Fast Changing Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584610#M217023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;I need some help from you.&lt;/P&gt;&lt;P&gt;can you please send me the total code you wrote for exporting into excel.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Srinath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2014 19:53:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-31T19:53:19Z</dc:date>
    <item>
      <title>Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584604#M217017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want to export the chart and table to excel of a fast changing object. I am using below code; however it is exporting the table only and not the Chart as image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH669")&lt;BR /&gt;intObjectType = chart.GetObjectType &lt;BR /&gt;'Msgbox "Business Mix - Table: " &amp;amp; intObjectType&lt;BR /&gt;if intObjectType = 12 then &lt;BR /&gt;chart.SetChartType 5&lt;BR /&gt;else &lt;BR /&gt;chart.SetChartType 0&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("CH669").CopyTableToClipboard true&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle 2000&lt;BR /&gt;XLSheet1.Paste XLSheet1.Range("A1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH669")&lt;BR /&gt;intObjectType = chart.GetObjectType &lt;BR /&gt;'Msgbox "Business Mix - Image: " &amp;amp; intObjectType&lt;BR /&gt;if intObjectType = 11 then &lt;BR /&gt;chart.SetChartType 0&lt;BR /&gt;else &lt;BR /&gt;chart.SetChartType 5&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("CH669").CopyBitmapToClipboard&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle 2000&lt;BR /&gt;XLSheet1.Paste XLSheet1.Range("A" &amp;amp; XLSheet1.Range("A65535").End(-4162).Row + 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying this since morning... any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikhil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584604#M217017</guid>
      <dc:creator>nikhilgandhi715</dc:creator>
      <dc:date>2014-01-29T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584605#M217018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without changing the ObjectType within the routine it will always copy/paste once. I'm not sure if this code from APIGuide.qvw will work for changing, but you will find there more examples and descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;p.GraphLayout.GraphMode = 1&amp;nbsp; 'pie"&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 17:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584605#M217018</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-01-29T17:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584606#M217019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we have the chart type details, Do you know where can I get the details for the graph mode for each graph.&lt;/P&gt;&lt;P&gt;Nikhil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 09:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584606#M217019</guid>
      <dc:creator>nikhilgandhi715</dc:creator>
      <dc:date>2014-01-30T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584607#M217020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible values/parameters can you see in APIGuide.qvw within the sheet "Automation Members" by hoovering over the column "Comment".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/52326_pastedImage_0.png" style="width: 620px; height: 485px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 09:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584607#M217020</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-01-30T09:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584608#M217021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus... I shall check if that works or not...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 09:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584608#M217021</guid>
      <dc:creator>nikhilgandhi715</dc:creator>
      <dc:date>2014-01-30T09:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584609#M217022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it working&lt;/P&gt;&lt;P&gt;Below is the code that worked for me&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objCurrentSheet.Range("A1").Select &lt;BR /&gt;ActiveDocument.ActiveSheet.ActivateAll&lt;BR /&gt;Objects = ActiveDocument.ActiveSheet.GetActiveSheetObjects() &lt;BR /&gt;x = 0&lt;BR /&gt;For j = lbound(Objects) to ubound(Objects)&lt;BR /&gt;set objProp = Objects(j).GetProperties&lt;BR /&gt;if Objects(j).GetObjectID = "Document\CH693" Then&lt;BR /&gt;If Objects(j).GetObjectType = 16 Then &lt;BR /&gt;Objects(j).SetObjectType 5&lt;BR /&gt;Call Objects(j).CopyTableToClipboard(true) &lt;BR /&gt;objCurrentSheet.Range("A1").Offset(x,0).Select&lt;BR /&gt;objExcelDoc.Sheets(sheetName).Paste &lt;BR /&gt;With objExcelApp.Selection&lt;BR /&gt;.WrapText = False&lt;BR /&gt;.ShrinkToFit = False&lt;BR /&gt;.Columns.AutoFit&lt;BR /&gt;.Rows.AutoFit&lt;BR /&gt;End With &lt;BR /&gt;Objects(j).SetObjectType 6&lt;BR /&gt;Call Objects(j).CopyBitmapToClipboard()&lt;BR /&gt;objCurrentSheet.Range("A15").Offset(x,0).Select&lt;BR /&gt;objExcelDoc.Sheets(sheetName).Paste &lt;BR /&gt;End if &lt;BR /&gt;End if&lt;BR /&gt;Next &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584609#M217022</guid>
      <dc:creator>nikhilgandhi715</dc:creator>
      <dc:date>2014-01-30T15:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584610#M217023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;I need some help from you.&lt;/P&gt;&lt;P&gt;can you please send me the total code you wrote for exporting into excel.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Srinath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 19:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584610#M217023</guid>
      <dc:creator />
      <dc:date>2014-07-31T19:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export to Excel - Chart &amp; Table - Fast Changing Object</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584611#M217024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi apache77,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for not coming back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still need the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 09:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-Excel-Chart-Table-Fast-Changing-Object/m-p/584611#M217024</guid>
      <dc:creator>nikhilgandhi715</dc:creator>
      <dc:date>2014-08-13T09:13:51Z</dc:date>
    </item>
  </channel>
</rss>

