<?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: Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763985#M1025309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Trescco ,&lt;/P&gt;&lt;P&gt;i have already created the variable , i have already defined a path&amp;nbsp; iam sending u the file ,&lt;/P&gt;&lt;P&gt;actaully when the file is being saved it has to give me which year and whivh month .&lt;/P&gt;&lt;P&gt;i hope u undertood .&lt;/P&gt;&lt;P&gt;Plz find the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 05:26:29 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2015-03-09T05:26:29Z</dc:date>
    <item>
      <title>Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763983#M1025306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two list boxes one is for Month and the other is for Year .&lt;/P&gt;&lt;P&gt;And i have straight table which iam importing to export by Macro.&lt;/P&gt;&lt;P&gt;I wanted to know how can we save the file path by selected year and month.&lt;/P&gt;&lt;P&gt;i need to create a variable for month and year then i want to bring this variable in the path of macro .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 04:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763983#M1025306</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-09T04:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763984#M1025307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can define variables like:&lt;/P&gt;&lt;P&gt;vYear=YearField&lt;/P&gt;&lt;P&gt;vMonth=MonthField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use them in your macro. If you need help there too, try to share your macro code here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763984#M1025307</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-09T05:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763985#M1025309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Trescco ,&lt;/P&gt;&lt;P&gt;i have already created the variable , i have already defined a path&amp;nbsp; iam sending u the file ,&lt;/P&gt;&lt;P&gt;actaully when the file is being saved it has to give me which year and whivh month .&lt;/P&gt;&lt;P&gt;i hope u undertood .&lt;/P&gt;&lt;P&gt;Plz find the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763985#M1025309</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-09T05:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763986#M1025311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to create a variable in macro itself instead of creating in qlikview and call this variable in your macro.&lt;/P&gt;&lt;P&gt;sub ( .... )&lt;/P&gt;&lt;P&gt;dim var1=XXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path: c://New Folder/var1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763986#M1025311</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-03-09T05:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763987#M1025312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;filepath="D:\EXCEL TO EXPORT\"&lt;BR /&gt;Set yearVar=ActiveDocument.GetVariable("vYear")&lt;BR /&gt;Set monthVar=ActiveDocument.GetVariable("vMonth")&lt;BR /&gt;Set filename=yearVar&amp;amp;monthVar&lt;BR /&gt;....&lt;BR /&gt;XLDoc.SaveAs filePath &amp;amp; filename&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763987#M1025312</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-09T05:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Variable/m-p/763988#M1025313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jyothish &lt;/P&gt;&lt;P&gt;Iam not understanding how to do it &lt;/P&gt;&lt;P&gt;I have already attached the macro code . Which will export different excel files by country by branch and by city &lt;/P&gt;&lt;P&gt;where do i define the variable ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable/m-p/763988#M1025313</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-03-09T05:37:12Z</dc:date>
    </item>
  </channel>
</rss>

