<?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 send to excel for the two pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174682#M381423</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 am having two pie chart for this i need a common send to excel button how can i achieve this, since my client said he don't want separate send to excel for the each of the chart , he need common button of XL and when they hit it should pull the two pic chart data to excel .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 11:34:09 GMT</pubDate>
    <dc:creator>manoranjan_d</dc:creator>
    <dc:date>2016-09-09T11:34:09Z</dc:date>
    <item>
      <title>send to excel for the two pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174682#M381423</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 am having two pie chart for this i need a common send to excel button how can i achieve this, since my client said he don't want separate send to excel for the each of the chart , he need common button of XL and when they hit it should pull the two pic chart data to excel .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 11:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174682#M381423</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-09-09T11:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: send to excel for the two pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174683#M381424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to have macro to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 12:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174683#M381424</guid>
      <dc:creator>saimahasan</dc:creator>
      <dc:date>2016-09-09T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: send to excel for the two pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174684#M381425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code helps to move the charts to excel. you need to call this on button trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExcelExpwCaption&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the path where the excel will be saved &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filePath = "C:\Users\nm36505\Desktop\SD QV\test.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Excel spreadsheet &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set excelFile = CreateObject("Excel.Application")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the WorkBook&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curWorkBook = excelFile.WorkBooks.Add&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create the Sheet&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curSheet = curWorkBook.WorkSheets(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the chart we want to export&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set tableToExport = ActiveDocument.GetSheetObject("CH82")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set chartProperties = tableToExport.GetProperties&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableToExport.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the caption&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption = tableToExport.GetCaption.Name.v&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox chartCaption&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set the first cell with the caption&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Range("A1") = chartCaption&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Paste the rest of the chart&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curSheet.Paste curSheet.Range("A2")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Visible = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Save the file and quit excel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curWorkBook.SaveAs filePath&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curWorkBook.Close&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; excelFile.Quit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Cleanup&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set curWorkBook = nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set excelFile = nothing&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Macro will not work in Ajax mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 14:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/send-to-excel-for-the-two-pie-chart/m-p/1174684#M381425</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-09-09T14:05:16Z</dc:date>
    </item>
  </channel>
</rss>

