<?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: Using QV Variable in Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829699#M292028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a variable vvv as follow: LET vvv=1; then use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB AAA&lt;BR /&gt; set v = ActiveDocument.GetVariable("vvv")&lt;BR /&gt; v.SetContent "999",true &lt;BR /&gt; msgbox("Value Output " &amp;amp; v.GetContent.String)&lt;BR /&gt; END SUB&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 14:19:27 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-06-04T14:19:27Z</dc:date>
    <item>
      <title>Using QV Variable in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829696#M292025</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;I am using below code to assign the Qv variable value to temp variable in macro code but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full_Pack_ind is a AV variable and by default it is 'N'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set A1&amp;nbsp; = ActiveDocument.Variables("Full_Pack_Ind")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MSGBOX "Value Output" &amp;amp; A1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if A1 = "N" then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MSGBOX "High Level Export Complete!",VbInformation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 13:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829696#M292025</guid>
      <dc:creator />
      <dc:date>2015-06-04T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using QV Variable in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829697#M292026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to read and use a variable in macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.GetVariable("vRaw_WosF")&lt;BR /&gt; select case v.GetContent.String&lt;BR /&gt; case 1&lt;BR /&gt; v.SetContent "0",true &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 13:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829697#M292026</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-06-04T13:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using QV Variable in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829698#M292027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply however it is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829698#M292027</guid>
      <dc:creator />
      <dc:date>2015-06-04T14:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using QV Variable in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829699#M292028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a variable vvv as follow: LET vvv=1; then use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB AAA&lt;BR /&gt; set v = ActiveDocument.GetVariable("vvv")&lt;BR /&gt; v.SetContent "999",true &lt;BR /&gt; msgbox("Value Output " &amp;amp; v.GetContent.String)&lt;BR /&gt; END SUB&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829699#M292028</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-06-04T14:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using QV Variable in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829700#M292029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @&lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/alexandros17"&gt;alexandros17&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: vGraph = if(Graph='Line', CH01,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Graph='Bar', 'CH02')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vGraph is a QV variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to export the chart to excel and trying to implement the value of selection of graph here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of GetSheetObject(qvObjectId). Can i use&amp;nbsp; ActiveDocument.GetVariable("&lt;SPAN style="font-size: 13.3333px;"&gt;vGraph &lt;/SPAN&gt;") in macro ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 21:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QV-Variable-in-Macro/m-p/829700#M292029</guid>
      <dc:creator />
      <dc:date>2016-04-11T21:46:30Z</dc:date>
    </item>
  </channel>
</rss>

