<?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: executing VB macro in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697643#M251964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konstantins,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i want with the execution of script Macro gets executed automatically not by adding button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 05:14:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-16T05:14:02Z</dc:date>
    <item>
      <title>executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697641#M251962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have craeted the macro&lt;/P&gt;&lt;P&gt;Sub SMS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj=ActiveDocument.GetSheetObject("CH1736")&lt;/P&gt;&lt;P&gt;obj.ExportEx "E:\ADW_Trigger\QlikviewSMS.txt",1&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;Can anyone tell me how do i execute this in script?? So that desire output i.e a text file will be created in ADW_Trigger folder as mention in macro??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 12:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697641#M251962</guid>
      <dc:creator />
      <dc:date>2014-09-15T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697642#M251963</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 need link your macro with any of Actions-&amp;gt;External-&amp;gt;Run Macro or Triggers-&amp;gt;Actions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put button to the sheet, ope properties, go to Actions -&amp;gt; Add External -&amp;gt; Run Macro and put &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;SMS tot he Macro Name field&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 12:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697642#M251963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-15T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697643#M251964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konstantins,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i want with the execution of script Macro gets executed automatically not by adding button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 05:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697643#M251964</guid>
      <dc:creator />
      <dc:date>2014-09-16T05:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697644#M251965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On-Post Reload you can execute the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 05:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697644#M251965</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-09-16T05:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697645#M251966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call macro by using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Button -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actions -&amp;gt; Add -&amp;gt; External -&amp;gt; Run Macro and put &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SMS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can call this while reloading the document like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings -&amp;gt; Document Properties -&amp;gt; Triggers -&amp;gt; Document Event Triggers -&amp;gt; OnPostReload -&amp;gt; Edit Actions -&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Add -&amp;gt; External -&amp;gt; Run Macro and put &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SMS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 05:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697645#M251966</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-16T05:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697646#M251967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;Tried it executing on post reload but txt file is not getting created in the folder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697646#M251967</guid>
      <dc:creator />
      <dc:date>2014-09-16T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697647#M251968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing - On-Post reload trigger works with desktop application, but not under AccessPoint&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697647#M251968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697648#M251969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does it mean automatically? after the reload apps? or when you activate chart object in the sheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697648#M251969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T06:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697649#M251970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have scheduled application on publisher but&amp;nbsp; post reload on macro ain't working , file is not getting created in folder,couldnot figure out why macro is not getting executed? is this because i scheduled it on publisher ? and&amp;nbsp; ain't there any way to write some commands in qlikview script in backend , so when application gets reload Macro will be executed too??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697649#M251970</guid>
      <dc:creator />
      <dc:date>2014-09-16T06:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697650#M251971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;Look my notes I've added recently&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;&amp;gt;&amp;gt;One thing - On-Post reload trigger works with desktop application, but not under AccessPoint&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697650#M251971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T06:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697651#M251972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; I have scheduled application on publisher but&amp;nbsp; post reload on macro ain't working , file is not getting created in folder,couldnot figure out why macro is not getting executed? is this because i scheduled it on publisher ? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697651#M251972</guid>
      <dc:creator />
      <dc:date>2014-09-16T06:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697652#M251973</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;Add this two commands at the end of the macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Save&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697652#M251973</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-16T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697653#M251974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the publisher you can create Supporting task and add trigger for the task after the app reloading/distribution.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66849" alt="ext.task.png" class="jive-image" height="120" src="https://community.qlik.com/legacyfs/online/66849_ext.task.png" style="height: 119.5px; width: 239px;" width="239" /&gt;&lt;/P&gt;&lt;P&gt;In the command line statement you need to put your macro script execution via batch file(just transfer function from module to vbs file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;batch file example:&lt;/P&gt;&lt;P&gt;cscript "C:\SMS.vbs"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sub SMS&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;set obj=ActiveDocument.GetSheetObject("CH1736")&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;obj.ExportEx "E:\ADW_Trigger\QlikviewSMS.txt",1&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 06:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697653#M251974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T06:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697654#M251975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I added both &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ActiveDocument.Save&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;at the end of macro and ran it through publisher but file is not getting created in folder, if i dont run it through publisher it works ,couldnot find out the reason??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 09:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697654#M251975</guid>
      <dc:creator />
      <dc:date>2014-09-16T09:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697655#M251976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;I added both&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;ActiveDocument.Save &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;at the end of macro and ran it through publisher but file is not getting created in folder, if i dont run it through publisher it works ,couldnot find out the reason??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 09:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697655#M251976</guid>
      <dc:creator />
      <dc:date>2014-09-16T09:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: executing VB macro in script</title>
      <link>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697656#M251977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the Windows scheduler instead of Qlikview publisher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 10:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/executing-VB-macro-in-script/m-p/697656#M251977</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-16T10:10:19Z</dc:date>
    </item>
  </channel>
</rss>

