<?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 Hide/sheets using a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153939#M30747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a mill it works perfect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 09:07:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-27T09:07:42Z</dc:date>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153933#M30741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like a macro which will hide and unhide sheets. I will attached the macro to a button.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 00:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153933#M30741</guid>
      <dc:creator />
      <dc:date>2010-10-22T00:08:07Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153934#M30742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. In your docuument, define a variable named "vShowSheet" and assign it a value of "1".&lt;/P&gt;&lt;P&gt;2. On the properties General tab for the sheet(s) you want hide, in the Show Sheet section:&lt;BR /&gt;- check Conditional&lt;BR /&gt;- Enter "vShowSheet" for the Condition (without the quotes).&lt;/P&gt;&lt;P&gt;3. If you are using V9+, assign Action to the button:&lt;BR /&gt;Action: Set Variable&lt;BR /&gt;Variable: vShowSheet&lt;BR /&gt;Value: =(vShowSheet-1)*-1&lt;/P&gt;&lt;P&gt;That Value expression will toggle the variable value between 0 and 1.&lt;/P&gt;&lt;P&gt;3 If you are using V8, define a macro like this:&lt;BR /&gt;Sub ToggleShow&lt;BR /&gt; ActiveDocument.GetVariable("vShowSheet").SetContent ActiveDocument.Evaluate("(vShowSheet-1)*-1"), true&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Then assign the macro ToggleShow to your button.&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 00:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153934#M30742</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-10-22T00:39:14Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153935#M30743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;how can i make , not having connections between one sheet to another sheet. Here in two sheets i am using same objects and expressions. If i am changing any positions or values of particular object, it should not get effected with another sheet.&lt;/P&gt;&lt;P&gt;First Sheet is "G1" contains slider and barchart based on slider movements the barchart changes.&lt;/P&gt;&lt;P&gt;Second Sheet is "G2" contains the same objects , slider and barchart based on slider movements the barchart changes.&lt;/P&gt;&lt;P&gt;Now my requirement is when i am working with "G1" and making changes that should not be effect to "G2". Totally i don't want any relationship between this two sheets.&lt;/P&gt;&lt;P&gt;Can you help in this query.&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 16:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153935#M30743</guid>
      <dc:creator />
      <dc:date>2011-02-18T16:18:04Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153936#M30744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put a button on my QV9 document that shows and selects a sheet ( otherwise the sheet is hidden) and then hides it . &lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have put the following &lt;/P&gt;&lt;P&gt;In the script I have put the following, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/P&gt;v&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;ShowSheet&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I have also tried Let vShowSheet = 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then on the sheet I wish the action to happen on, set Show sheet to conditional and put the condition as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #008000; font-size: 8pt;"&gt;&lt;STRONG style="color: #008000; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vShowSheet &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;﻿&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On the button I have selected tab Actions&amp;gt;Set variable and Variable as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vShowSheet&amp;nbsp; and condition as &lt;/P&gt;=(vShowSheet-1)*-1&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not seem to be working as when I click the button nothing happens ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me ?&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;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 16:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153936#M30744</guid>
      <dc:creator />
      <dc:date>2012-02-24T16:57:33Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153937#M30745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not have parens in &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=(vShowSheet-1)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;it should be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;=vShowSheet-1*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;An even easier way to toggle the variable is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;=NOT vShowSheet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 21:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153937#M30745</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-02-24T21:49:24Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153938#M30746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/satish47.venkat" id="jive-4729318552297258424094" style="background-color: #f9f9f9; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;@satish47.venkat&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So you want selections to be independent on each sheet? See &lt;A _jive_internal="true" href="https://community.qlik.com/message/102195#102195"&gt;http://community.qlik.com/message/102195#102195&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 22:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153938#M30746</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-02-24T22:02:10Z</dc:date>
    </item>
    <item>
      <title>Hide/sheets using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153939#M30747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a mill it works perfect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 09:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-sheets-using-a-macro/m-p/153939#M30747</guid>
      <dc:creator />
      <dc:date>2012-02-27T09:07:42Z</dc:date>
    </item>
  </channel>
</rss>

