<?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: Running a VB macro from the Load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010822#M648896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind that this won't work in the AccessPoint. On a server, the distribution service is responsible for all document reloads and the distribution service does not care about user interfaces or triggers. It's a black box-style engine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 15:18:56 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-10-20T15:18:56Z</dc:date>
    <item>
      <title>Running a VB macro from the Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010819#M648893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a VB macro built in the Qlik Module editor.&amp;nbsp; I have an action button created in my application and will execute the macro just fine.&amp;nbsp; The macro takes graphs and charts from my qliikview object and creates an excel workbook from them.&amp;nbsp; I would like for the macro to automaticly execute and run at the end of my load script so I do not have to press the action button to run the macro.&amp;nbsp; I have tried several different methods, but nothing seems to work.&amp;nbsp; Can anyone provide step by step instructions to execute a macro from the load script?&amp;nbsp; New to qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub exportToExcel_Variant2 &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 19:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010819#M648893</guid>
      <dc:creator />
      <dc:date>2015-10-19T19:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running a VB macro from the Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010820#M648894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView offers the possibility to execute VBS functions from your load script. However that won't fix your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UI objects are only recalculated after the load script terminates. So it will be pretty useless to export "empty" objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010820#M648894</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-20T15:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running a VB macro from the Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010821#M648895</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;you can add an action ('External' --&amp;gt; 'Run Macro') for 'OnPostReload'.&lt;/P&gt;&lt;P&gt;You find it under 'Document Properties' --&amp;gt; 'Triggers' --&amp;gt; 'Document Event Triggers'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sebastian Lettner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010821#M648895</guid>
      <dc:creator>sebastianlettner</dc:creator>
      <dc:date>2015-10-20T15:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Running a VB macro from the Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010822#M648896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind that this won't work in the AccessPoint. On a server, the distribution service is responsible for all document reloads and the distribution service does not care about user interfaces or triggers. It's a black box-style engine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010822#M648896</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-20T15:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Running a VB macro from the Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010823#M648897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use reload your qvw from command line and use OnPostReload trigger event.&lt;/P&gt;&lt;P&gt;eg "C:\Program Files\QlikView\QV.exe" /l&amp;nbsp; "qvwfilewithpath"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-a-VB-macro-from-the-Load-script/m-p/1010823#M648897</guid>
      <dc:creator />
      <dc:date>2015-10-20T17:52:46Z</dc:date>
    </item>
  </channel>
</rss>

