<?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 How to pass QV variable to macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-QV-variable-to-macro/m-p/209597#M64522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to get the value from the variable object.&lt;/P&gt;&lt;P&gt;Sorry, but my example is in jScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;var&lt;BR /&gt;&lt;BR /&gt;Variable = ActiveDocument.Variables("&amp;lt;Variable Name&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;SomeOtherContainer = Variable.GetRawContent() ;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 21:01:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-01T21:01:31Z</dc:date>
    <item>
      <title>How to pass QV variable to macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-QV-variable-to-macro/m-p/209596#M64521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello...I need to pass a variable from QV to a macro we use for exporting images and tables to a specific directory. I have an input box for a variable called vBookName. I need to pass whatever value a user inputs here to the macro. I'd like to use this variable on these lines before ObjectCaption, so that we have unique filenames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path =&lt;/P&gt;&lt;P&gt;"H:\CBSIS\Analytics &amp;amp; Reporting\Tools\Monthly Books\Global Functions"&amp;amp;ObjectCaption &amp;amp; "_GF.xls"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;expPath =&lt;/P&gt;&lt;P&gt;"H:\CBSIS\Analytics &amp;amp; Reporting\Tools\Monthly Books\Global Functions"&amp;amp;ObjectCaption &amp;amp; "_GF.png"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not too versed in VB script, so any help would be great. Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 20:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-QV-variable-to-macro/m-p/209596#M64521</guid>
      <dc:creator />
      <dc:date>2010-12-01T20:51:29Z</dc:date>
    </item>
    <item>
      <title>How to pass QV variable to macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-QV-variable-to-macro/m-p/209597#M64522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to get the value from the variable object.&lt;/P&gt;&lt;P&gt;Sorry, but my example is in jScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;var&lt;BR /&gt;&lt;BR /&gt;Variable = ActiveDocument.Variables("&amp;lt;Variable Name&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;SomeOtherContainer = Variable.GetRawContent() ;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 21:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-QV-variable-to-macro/m-p/209597#M64522</guid>
      <dc:creator />
      <dc:date>2010-12-01T21:01:31Z</dc:date>
    </item>
  </channel>
</rss>

