<?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: Macro - Activate Sheet on Field Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344403#M127194</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here i attached qv file using macro as like you mentioned condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2012 14:37:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-09T14:37:50Z</dc:date>
    <item>
      <title>Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344398#M127189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to do two things.&amp;nbsp; I am thinking a Macro might be the best way to do it.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When selecting one value in a particular list box, it activates another sheet.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When unselecting that value or going back to a state where more than one possible value exists, go back to the first sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp; I don't have the greatest fluency when it comes to macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 00:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344398#M127189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T00:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344399#M127190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is what you're after but it doesn't use a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it simply makes a sheet visible or not based on the sheet Conditional setting.&amp;nbsp; Sheet Properties&amp;gt;General&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 02:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344399#M127190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T02:36:07Z</dc:date>
    </item>
    <item>
      <title>Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344400#M127191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not trying to hide / unhide a sheet.&amp;nbsp; I am trying to activate a sheet based on GetPossibleCount(field)=1.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 13:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344400#M127191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T13:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344401#M127192</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this attached file will be helpful for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the attached file using the following instruction to achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Settings --&amp;gt; Document Properties --&amp;gt; Triggers --&amp;gt; Field Event Triggers --&amp;gt; Month --&amp;gt; Edit or click the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnSelect button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344401#M127192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344402#M127193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for input Ashok, but I tried that originally.&amp;nbsp; That triggers the other sheet if any number of values is selected.&amp;nbsp; I want the action to occur when only one value is selected.&amp;nbsp; And then there is no action that can be created on "unselect" to my knowledge so I cannot achieve the second part of the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the only way to achieve is via a macro.&amp;nbsp; I am just not very familiar with the vb syntax needed.&amp;nbsp; In "qlikview-eese"&amp;nbsp; this is what I want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(macro will be tied to activate action for object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(GetPossibleCount(Field)=1,ActivateSheet.Sheet2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(GetPossibleCount(Field)&amp;gt;1,ActivateSheet.Sheet1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But obviously this syntax is not exactly "macro vb"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344402#M127193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T14:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344403#M127194</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here i attached qv file using macro as like you mentioned condition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344403#M127194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T14:37:50Z</dc:date>
    </item>
    <item>
      <title>Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344404#M127195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is perfect!!!&amp;nbsp; I would have been in that API document all day trying to figure it out.&amp;nbsp; Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 14:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344404#M127195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-09T14:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344405#M127196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a similar requirement in which we need to activate the sheet on web page load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we open the URL, we load the QlikView in an IFrame. The sheet is not getting activated on the web page load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me if you have any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 13:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344405#M127196</guid>
      <dc:creator />
      <dc:date>2013-01-03T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Macro - Activate Sheet on Field Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344407#M127198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you downloaded the attached sample QVW file I have on the earlier post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a problem and my sample doesn't solve this can you post a sample QVW file so the group can see it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 23:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Activate-Sheet-on-Field-Selection/m-p/344407#M127198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-02T23:51:18Z</dc:date>
    </item>
  </channel>
</rss>

