<?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: How to make a macro works only in one sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-macro-works-only-in-one-sheet/m-p/1529962#M746791</link>
    <description>&lt;P&gt;Often are macros not the best way to provide the users&amp;nbsp; good usability: &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Macros-are-Bad/bc-p/1466217" target="_blank"&gt;Macros-are-Bad&lt;/A&gt;. Nevertheless if you want to keep them you need to adjust the macro-trigger or adding a check to the active sheet and using an if-contruct to branch between the executing the macro and doing nothing. Here an example from the APIGuide.qvw:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsActiveMacro.JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3694iB522B8415AF22408/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsActiveMacro.JPG" alt="IsActiveMacro.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 12:00:10 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2019-01-14T12:00:10Z</dc:date>
    <item>
      <title>How to make a macro works only in one sheet</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-macro-works-only-in-one-sheet/m-p/1529948#M746790</link>
      <description>&lt;P&gt;i need to activate a macro only on some sheets.&lt;/P&gt;&lt;P&gt;Now it works as it should on one sheet and it has to stop on other sheets but even if i don't activate the macro in other sheet's property it keeps working. How can i block the macro's execution?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-macro-works-only-in-one-sheet/m-p/1529948#M746790</guid>
      <dc:creator>matbelli</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a macro works only in one sheet</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-macro-works-only-in-one-sheet/m-p/1529962#M746791</link>
      <description>&lt;P&gt;Often are macros not the best way to provide the users&amp;nbsp; good usability: &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Macros-are-Bad/bc-p/1466217" target="_blank"&gt;Macros-are-Bad&lt;/A&gt;. Nevertheless if you want to keep them you need to adjust the macro-trigger or adding a check to the active sheet and using an if-contruct to branch between the executing the macro and doing nothing. Here an example from the APIGuide.qvw:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsActiveMacro.JPG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3694iB522B8415AF22408/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsActiveMacro.JPG" alt="IsActiveMacro.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 12:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-macro-works-only-in-one-sheet/m-p/1529962#M746791</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-14T12:00:10Z</dc:date>
    </item>
  </channel>
</rss>

