<?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 CLEAR SELECTIONS MACRO in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250551#M95114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was trying to tell you that you can accomplish this by putting a Button object which when you click clears all selections&lt;/P&gt;&lt;P&gt; Anyways Christian77 gave you the correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2011 11:54:02 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2011-05-30T11:54:02Z</dc:date>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250544#M95107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again community!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an easy cuestion for you. I am trying to create a a macro which funcionality must be clear all selections when I active one special sheet. The code I wrote was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub CLEAR_SLECTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activatedocument.clearselection&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other examples I saw, this functionality was asigned by a shorcut, but this time I only see macro options (sheet properties). Could anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced!!!! Fiber9906&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250544#M95107</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:16:29Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250545#M95108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Right-Click on your button and click on properties&lt;/P&gt;&lt;P&gt; in the action tab add a new action under the Selection Action type and select the "clear all" action!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250545#M95108</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2011-05-30T10:22:47Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250546#M95109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I´m so sorry Ali, but I don´t understand you. On sheet properties, I select Macro tab and I assign CLEAR_SELECTIONS macro. My real problem is that script on edit module button is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t see what you are trying to explain me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, thanks for your soon reply!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250546#M95109</guid>
      <dc:creator />
      <dc:date>2011-05-30T10:39:29Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250547#M95110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to your sheet properties -&amp;gt; Triggers tab&lt;/P&gt;&lt;P&gt;On the box with the onActivateSheet (on the top), click on Add Actions (or Edit if you already have something there) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the new window, click on Add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action Type = External &lt;/P&gt;&lt;P&gt;Action = Run Macro&lt;/P&gt;&lt;P&gt;Click OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro Name = CLEAR_SLECTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/ali_hijazi" id="jive-558152116703342696539"&gt;ali_hijazi&lt;/A&gt; suggestion , you don't need to write your macro, you only use the action already created &lt;/P&gt;&lt;P&gt;For this, you can:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Go to your sheet properties -&amp;gt; Triggers tab&lt;/P&gt;&lt;P&gt;On the box with the onActivateSheet (on the top), click on Add Actions (or Edit if you already have something there) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the new window, click on Add&lt;/P&gt;&lt;P&gt;Action Type = Selection&lt;/P&gt;&lt;P&gt;Action = Clear All&lt;/P&gt;&lt;P&gt;&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;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250547#M95110</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-30T10:44:50Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250548#M95111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="triggers.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/4807_triggers.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 10:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250548#M95111</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2011-05-30T10:49:37Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250549#M95112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Erich, I still don´t have (or see) the options you are telling me. I attach what I am seeing... &lt;/P&gt;&lt;P&gt;My current version is 8.5.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="clear_selection.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/4808_clear_selection.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Fiber9906&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 11:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250549#M95112</guid>
      <dc:creator />
      <dc:date>2011-05-30T11:01:34Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250550#M95113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Read Eric's suggestion. Avoid macros. They work fine locally but not always via plug-in and/or via Ajax.&lt;/P&gt;&lt;P&gt;QV has a collection of actions already made. One of those actions is Unlock &amp;amp; Clear all selections. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What version of QV are you using?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If your QV does not have actions, do as you're doing.&lt;/P&gt;&lt;P&gt;I'd use better:&lt;/P&gt;&lt;P&gt;ActiveDocument.UnlockAll&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 11:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250550#M95113</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2011-05-30T11:28:25Z</dc:date>
    </item>
    <item>
      <title>CLEAR SELECTIONS MACRO</title>
      <link>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250551#M95114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was trying to tell you that you can accomplish this by putting a Button object which when you click clears all selections&lt;/P&gt;&lt;P&gt; Anyways Christian77 gave you the correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 11:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CLEAR-SELECTIONS-MACRO/m-p/250551#M95114</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2011-05-30T11:54:02Z</dc:date>
    </item>
  </channel>
</rss>

