<?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 Conditioning a run macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324984#M1196262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for a selection I need to condition the related run macro action. I have tried to use the IF statement in the macro name but unsuccessfully.&lt;/P&gt;&lt;P&gt;Is it possible to condition the running of a macro?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2011 10:35:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-29T10:35:57Z</dc:date>
    <item>
      <title>Conditioning a run macro</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324984#M1196262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for a selection I need to condition the related run macro action. I have tried to use the IF statement in the macro name but unsuccessfully.&lt;/P&gt;&lt;P&gt;Is it possible to condition the running of a macro?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 10:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324984#M1196262</guid>
      <dc:creator />
      <dc:date>2011-04-29T10:35:57Z</dc:date>
    </item>
    <item>
      <title>Conditioning a run macro</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324985#M1196263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you upload your QV file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 10:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324985#M1196263</guid>
      <dc:creator />
      <dc:date>2011-04-29T10:44:54Z</dc:date>
    </item>
    <item>
      <title>Conditioning a run macro</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324986#M1196264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can create a condition to execute a macro. but you can include a condition in the beggining of the macro to execute part of your code or not.&lt;/P&gt;&lt;P&gt;Please, send us some sample app and describe what you need so we can think about something.&lt;/P&gt;&lt;P&gt;(Sometimes we can make it just with the description)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 11:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324986#M1196264</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-29T11:27:06Z</dc:date>
    </item>
    <item>
      <title>Conditioning a run macro</title>
      <link>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324987#M1196265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make a macro run depending on the value of a variable. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;sub MacroName&lt;BR /&gt;set p = ActiveDocument.Variables("vVariable1")&lt;BR /&gt; if p.GetContent.String &amp;lt;&amp;gt; "0" then&lt;BR /&gt;...&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Trigger the macro on change of a field or on change of the variable value, and it should do what you want.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 11:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditioning-a-run-macro/m-p/324987#M1196265</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-04-29T11:31:42Z</dc:date>
    </item>
  </channel>
</rss>

