<?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 chart 'send to excel' with button object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245048#M93407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If the above one didn't worked for you try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub export_summary&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("QvWorkPath")&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application")&lt;BR /&gt;XLApp.Visible = false&lt;BR /&gt;set ExcelDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;ExcelDoc.Sheets(1).activate&lt;/P&gt;&lt;P&gt;set obj1 = ActiveDocument.getsheetobject("CH_Cases")&lt;BR /&gt;obj1.CopyTableToClipboard true&lt;BR /&gt;ExcelDoc.Sheets(1).cells(1,1).select&lt;BR /&gt;ExcelDoc.Sheets(1).paste&lt;BR /&gt;ExcelDoc.Sheets(1).Rows("1:1").Font.Bold = True&lt;BR /&gt;set obj1 = nothing&lt;/P&gt;&lt;P&gt;"CH_Cases": replace it with your object ID&lt;/P&gt;&lt;P&gt;ExcelDoc.Sheets(1).cells(1,1).select: means that it will start in A1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 21:03:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-07T21:03:13Z</dc:date>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245044#M93403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I want to mimic the functionality of the 'send to excel'&amp;nbsp; (in the caption of charts) with a button.&amp;nbsp; Is this possible?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 20:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245044#M93403</guid>
      <dc:creator />
      <dc:date>2011-09-07T20:26:52Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245045#M93404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is of any importance this will also be done using the ajax client&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 20:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245045#M93404</guid>
      <dc:creator />
      <dc:date>2011-09-07T20:36:00Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245046#M93405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;objExcel.Workbooks.Open("C:\Folder\Document.xls")&lt;BR /&gt;objExcel.Visible = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 20:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245046#M93405</guid>
      <dc:creator />
      <dc:date>2011-09-07T20:58:05Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245047#M93406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran this macro and I get the error: ActiveX component can't create object: 'Excel.Application' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also do not see how this macro would know what chart I am wanting to send to excel, wouldn't I need to specify the chart ID somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 21:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245047#M93406</guid>
      <dc:creator />
      <dc:date>2011-09-07T21:02:37Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245048#M93407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If the above one didn't worked for you try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub export_summary&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("QvWorkPath")&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application")&lt;BR /&gt;XLApp.Visible = false&lt;BR /&gt;set ExcelDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;ExcelDoc.Sheets(1).activate&lt;/P&gt;&lt;P&gt;set obj1 = ActiveDocument.getsheetobject("CH_Cases")&lt;BR /&gt;obj1.CopyTableToClipboard true&lt;BR /&gt;ExcelDoc.Sheets(1).cells(1,1).select&lt;BR /&gt;ExcelDoc.Sheets(1).paste&lt;BR /&gt;ExcelDoc.Sheets(1).Rows("1:1").Font.Bold = True&lt;BR /&gt;set obj1 = nothing&lt;/P&gt;&lt;P&gt;"CH_Cases": replace it with your object ID&lt;/P&gt;&lt;P&gt;ExcelDoc.Sheets(1).cells(1,1).select: means that it will start in A1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 21:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245048#M93407</guid>
      <dc:creator />
      <dc:date>2011-09-07T21:03:13Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245049#M93408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Merwan, unfortunately I am still getting the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveX component can't create object: 'Excel.Application'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 21:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245049#M93408</guid>
      <dc:creator />
      <dc:date>2011-09-07T21:08:17Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245050#M93409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tyler can you check that you Allow System Access for the macro in the Macro module . Otherwise you will not be allowed to create objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 22:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245050#M93409</guid>
      <dc:creator />
      <dc:date>2011-09-07T22:40:07Z</dc:date>
    </item>
    <item>
      <title>chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245051#M93410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dim kost,i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kost = ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kost = "Sheet1"&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLApp.Visible = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set tbl = ActiveDocument.GetSheetObject("CH1053")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set XLSheet = XLDoc.Worksheets(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tbl.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLSheet.Paste XLSheet.Range("A1")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlsheet.Range("A:A").WrapText = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLsheet.Cells.Borders.LineStyle = 1&lt;/P&gt;&lt;P&gt;&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; ActiveDocument.GetSheetObject("CH1054").CopyBitmapToClipboard &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(kost).Range("A" &amp;amp;&amp;nbsp; 10).Select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(kost).Paste&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; end sub &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 02:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245051#M93410</guid>
      <dc:creator />
      <dc:date>2011-09-08T02:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: chart 'send to excel' with button object</title>
      <link>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245052#M93411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDIT: This seems to not work once its accessed through the AccessPoint with the Ajax client. It does work with the IE plugin though and in the developer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I commented out the last 4 lines because I don't need any images right now; but this works great, thanks!&lt;/P&gt;&lt;P&gt;&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; 'ActiveDocument.GetSheetObject("CH1054").CopyBitmapToClipboard &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'XLDoc.Sheets(kost).Range("A" &amp;amp;&amp;nbsp; 10).Select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'XLDoc.Sheets(kost).Paste&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 16:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chart-send-to-excel-with-button-object/m-p/245052#M93411</guid>
      <dc:creator />
      <dc:date>2011-09-08T16:24:58Z</dc:date>
    </item>
  </channel>
</rss>

