<?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: Passing parameters to Macro's when called by button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784763#M277751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Action -&amp;gt; Run Macro does not pass parameters. Possible workarounds are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set a variable value before calling the macro. And then read the variable value in the macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use Multiple (differently named) Subs that call the main sub, passing a parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 04:37:14 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-02-25T04:37:14Z</dc:date>
    <item>
      <title>Passing parameters to Macro's when called by button</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784762#M277750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;On edit Module (Javascript)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;function alertJS1() {&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;var x=new ActiveXObject("WScript.Shell");&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;x.popup('works');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function alertJS(s) {&lt;/P&gt;&lt;P&gt;var x=new ActiveXObject("WScript.Shell");&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;x.popup(y);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;On Button - in External - Macro - alertJS1&amp;nbsp;&amp;nbsp; is okay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;On Button - in External - Macro - alertJS('any message')&amp;nbsp;&amp;nbsp; not okay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 04:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784762#M277750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T04:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Macro's when called by button</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784763#M277751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Action -&amp;gt; Run Macro does not pass parameters. Possible workarounds are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set a variable value before calling the macro. And then read the variable value in the macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use Multiple (differently named) Subs that call the main sub, passing a parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 04:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784763#M277751</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-02-25T04:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Macro's when called by button</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784764#M277752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tkx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 04:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784764#M277752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T04:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Macro's when called by button</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784765#M277753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can mark an answer as correct which will close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 06:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-parameters-to-Macro-s-when-called-by-button/m-p/784765#M277753</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-02-25T06:24:47Z</dc:date>
    </item>
  </channel>
</rss>

