<?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: Macro not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553119#M553385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you have to wait until the objects to be exported give a result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 09:32:10 GMT</pubDate>
    <dc:creator>bbi_mba_76</dc:creator>
    <dc:date>2013-10-14T09:32:10Z</dc:date>
    <item>
      <title>Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553118#M553384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a MACRO for exporting the table data into excel file. I have tested it by applying Action to the button. When i click on the button the macro works fine. But I need the macro to work on the PostReload Trigger. When I apply the Run Macro Action on PostReload trigger, the macro does not work. Instead the dashboard goes to Not Reasponding state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what could be the issue. I am sharing my macro code which is working perfectly fine for me. The Problem is in applying the PostReload Trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub DateExportPrev&lt;/P&gt;&lt;P&gt;Set Var = ActiveDocument.GetVariable("vPathDate2") &lt;/P&gt;&lt;P&gt;'MsgBox("DataHas Been Transfered")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj1 =ActiveDocument.GetSheetObject("Macro2") &lt;/P&gt;&lt;P&gt;obj1.ExportBiff Var.GetContent.String&amp;amp;".xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Sub DateExport&lt;/P&gt;&lt;P&gt;Set Var = ActiveDocument.GetVariable("vPathDate") &lt;/P&gt;&lt;P&gt;'MsgBox("DataHas Been Transfered")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj1 =ActiveDocument.GetSheetObject("Macro1") &lt;/P&gt;&lt;P&gt;obj1.ExportBiff Var.GetContent.String&amp;amp;".xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two Macros have been applied seperately for two tables to export data to excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553118#M553384</guid>
      <dc:creator />
      <dc:date>2013-10-14T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553119#M553385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; maybe you have to wait until the objects to be exported give a result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553119#M553385</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-14T09:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553120#M553387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this also .. waited for almost an hour to get the result but still nothing. It takes Hardly a minute to export data when I test it using button. And it is also working fine on OpenDoc Trigger. Its just not working on PostReload Trigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/553120#M553387</guid>
      <dc:creator />
      <dc:date>2013-10-14T09:36:13Z</dc:date>
    </item>
  </channel>
</rss>

