<?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 and open excel file via macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179627#M46404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried.....its not working.&lt;/P&gt;&lt;P&gt;the Qv can't execute the line : &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;objexcel=&lt;B&gt;GetObject&lt;/B&gt;("Excel.Application.") &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 16:22:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-09T16:22:19Z</dc:date>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179622#M46399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I made a macro that saves a chart to an excel doc' when the users press a button.&lt;/P&gt;&lt;P&gt;Now I need that when the user press the button it will open the excel file (with the chart values),quite similar to the&lt;/P&gt;&lt;P&gt;"send to excel" in the QV ,how can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 22:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179622#M46399</guid>
      <dc:creator />
      <dc:date>2009-09-08T22:43:33Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179623#M46400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;BR /&gt;I do see your macros so the comparison with what I have done?&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 23:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179623#M46400</guid>
      <dc:creator />
      <dc:date>2009-09-08T23:06:39Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179624#M46401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the &lt;STRONG&gt;pseudo code&lt;/STRONG&gt; for this would be something similar like this:&lt;/P&gt;&lt;P&gt;Dim objExcel&lt;BR /&gt;Set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;-&amp;gt; copy chart to the desired sheet in Excel-application&lt;BR /&gt;-&amp;gt; levae excel open ...&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;your script for saving the chart to excel&lt;BR /&gt;then&lt;BR /&gt;Set objExcel = CreateObject("Excel.Application")&lt;BR /&gt;objExcel.OpenWorksheet(yourFilename) &amp;lt;-- sorry I cannot remember the exact syntax for the method OpenWorksheet, you shold google that ..&lt;/P&gt;&lt;P&gt;Hope this helps ...&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 01:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179624#M46401</guid>
      <dc:creator />
      <dc:date>2009-09-09T01:02:45Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179625#M46402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well guy,I search but I'm not as good in VB....&lt;/P&gt;&lt;P&gt;See the attached file----&amp;gt;after pressing the blue buttom the chart saved in the desired directory,I want that the file&lt;/P&gt;&lt;P&gt;will also open,I wrote some code but nothing happens.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**) for some reason the file couldn't attach &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;...I will try again soon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179625#M46402</guid>
      <dc:creator />
      <dc:date>2009-09-09T13:14:15Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179626#M46403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Stefan said, if you already have your export code in place you can just add a few rows for launching the excel document that you just exported.&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;I noticed I had to add the last row for Excel to show. The process was launched but not shown in the gui.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179626#M46403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-09T13:46:48Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179627#M46404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried.....its not working.&lt;/P&gt;&lt;P&gt;the Qv can't execute the line : &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Set&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;objexcel=&lt;B&gt;GetObject&lt;/B&gt;("Excel.Application.") &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 16:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179627#M46404</guid>
      <dc:creator />
      <dc:date>2009-09-09T16:22:19Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179628#M46405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one works for me:&lt;/P&gt;&lt;P&gt;sub export_summary&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("QvWorkPath")&lt;BR /&gt;&lt;BR /&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. If you want it to start in e.g. A2 you write 2,1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 17:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179628#M46405</guid>
      <dc:creator />
      <dc:date>2009-09-09T17:59:29Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179629#M46406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this (it works for me)&lt;/P&gt;&lt;P&gt;dim ExcelApp, ExcelWB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ExcelApp = createobject("Excel.Application")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExcelApp.visible = true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ExcelWB = ExcelApp.Workbooks.Open(c:\FileName)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 18:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179629#M46406</guid>
      <dc:creator />
      <dc:date>2009-09-09T18:59:16Z</dc:date>
    </item>
    <item>
      <title>export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179630#M46407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you Allow System Access for the macro in the Macro module too. Otherwise you will not be allowed to create objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 12:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179630#M46407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179631#M46408</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;This macro works for me, but I would like to save the document on my computer. How to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Henco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 12:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179631#M46408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-27T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: export and open excel file via macro</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179632#M46409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your now-five-year-old advice has just saved me from more hours of banging my head against a wall!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't thank you enough!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-open-excel-file-via-macro/m-p/179632#M46409</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2014-09-29T15:23:33Z</dc:date>
    </item>
  </channel>
</rss>

