<?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: Changing a QlikView variable value through macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593986#M684684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know, it should be that simple, right?&lt;/P&gt;&lt;P&gt;I added this line to my macro and it did not change the value...any advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 12:27:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-17T12:27:02Z</dc:date>
    <item>
      <title>Changing a QlikView variable value through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593984#M684682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;1. I have a QlikView Variable named "vRunMacro" with a value "false".&lt;/P&gt;&lt;P&gt;2. I have a macro that runs on opening the QVW file.&lt;/P&gt;&lt;P&gt;3. the macro has functions that run if vRunMacro=true. so, when a normal user open the file the functions don't run.&lt;/P&gt;&lt;P&gt;4. I run a batch file that opens the QVW and sends to vRunMacro the value "true".&lt;/P&gt;&lt;P&gt;5. everything runs perfetly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, I want to change the vRunMacro back to the value of "false",&lt;/P&gt;&lt;P&gt;can you please help?&lt;/P&gt;&lt;P&gt;I tried in many ways and could not see a change in variable overview when I look after the macro was performed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593984#M684682</guid>
      <dc:creator />
      <dc:date>2014-02-17T11:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a QlikView variable value through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593985#M684683</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;ActiveDocument.Variables("vRunMacro").SetContent "false", true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593985#M684683</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-02-17T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a QlikView variable value through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593986#M684684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know, it should be that simple, right?&lt;/P&gt;&lt;P&gt;I added this line to my macro and it did not change the value...any advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 12:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593986#M684684</guid>
      <dc:creator />
      <dc:date>2014-02-17T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a QlikView variable value through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593987#M684685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you run your macro/batch from outside then you must also save your qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 12:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593987#M684685</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-02-17T12:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a QlikView variable value through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593988#M684686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, this seems to be working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 14:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-a-QlikView-variable-value-through-macro/m-p/593988#M684686</guid>
      <dc:creator />
      <dc:date>2014-02-17T14:48:50Z</dc:date>
    </item>
  </channel>
</rss>

