<?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: Use of variables in macros in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460678#M793876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;this will retrieve your variable value&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ActiveDocument.GetVariable("&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AverageOfCountry&lt;/SPAN&gt;").GetContent.String&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2018 13:30:55 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2018-01-08T13:30:55Z</dc:date>
    <item>
      <title>Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460676#M793874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added a variable called "AverageOfCountry" using "Variable Overview&amp;gt;Add" from Layout. I defined the variable using an expression. How can I evaluate the expression linked to the variable and use it in a macro? I have to use it in a macro because I need the said variable's value on every sheet of the excel document I'm exporting to. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460676#M793874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460677#M793875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v = ActiveDocument.Variables("AverageOfCountry").GetContent.String&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, 08 Jan 2018 13:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460677#M793875</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-08T13:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460678#M793876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;this will retrieve your variable value&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ActiveDocument.GetVariable("&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AverageOfCountry&lt;/SPAN&gt;").GetContent.String&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460678#M793876</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2018-01-08T13:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460679#M793877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it pastes me the expression string in the Excel table, not the value I would get by evaluating the expression. How do I get the variable expression to evaluate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460679#M793877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460680#M793878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so set the variable with "=" in front of the expression that the value is calculated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 14:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460680#M793878</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2018-01-08T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460681#M793879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetVariable("&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AverageOfCountry&lt;/SPAN&gt;").getContent.string &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and make sure ur variable begins with "=" when created&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 14:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460681#M793879</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-01-08T14:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460682#M793880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use "=" at beginning of your variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 14:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460682#M793880</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2018-01-08T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460683#M793881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way might be to use evaluate() for the variable or maybe the expression itself - maybe like this: &lt;A href="https://community.qlik.com/message/1350133"&gt;Re: How to export formula with Set analysis using macro&lt;/A&gt;&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, 08 Jan 2018 14:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460683#M793881</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-08T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460684#M793882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's it. Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 14:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1460684#M793882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-08T14:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variables in macros</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1741880#M793883</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a similar requirement, am using a macro to export my tables into txt format and want to keep prefix as current date to that generated txt files&amp;nbsp;&lt;/P&gt;&lt;P&gt;i used below F:\Document\$(vDate)_wang.txt&amp;nbsp; --- and it is getting named as it it, it is not picking the current date, Please help me. Thanks much&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 09:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variables-in-macros/m-p/1741880#M793883</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2020-09-08T09:31:14Z</dc:date>
    </item>
  </channel>
</rss>

