<?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: Change selections in a export to excel macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-selections-in-a-export-to-excel-macro/m-p/964325#M959986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW: I know i could do it with more expressions with set analys, but they're &lt;EM&gt;a lot&lt;/EM&gt; of objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 14:55:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-26T14:55:34Z</dc:date>
    <item>
      <title>Change selections in a export to excel macro</title>
      <link>https://community.qlik.com/t5/QlikView/Change-selections-in-a-export-to-excel-macro/m-p/964324#M959985</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'm exporting tables to an excel with this useful macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5405"&gt;Export to Excel for each dimension value as separate sheet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to export a object with a selected value, and the same object with other selected value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;set val=ActiveDocument.Fields("_ARS").GetPossibleValues&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;ARS = val.Item(val.Count-1).Text&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;ActiveDocument.Fields("MEDIDA_DESCRIPCION").Select ARS&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;after the part of exporting the object:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;aryExport(0,0) = "FISICOxMARCA"&lt;/P&gt;&lt;P&gt;aryExport(0,1) = "Fisico x MARCA ARS"&lt;/P&gt;&lt;P&gt;aryExport(0,2) = "A1"&lt;/P&gt;&lt;P&gt;aryExport(0,3) = "data"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.... ( new code)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;(and i created an inline like this)&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _ARS, _UND,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARS, UND&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if i use this the macro stop working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-selections-in-a-export-to-excel-macro/m-p/964324#M959985</guid>
      <dc:creator />
      <dc:date>2015-10-26T14:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change selections in a export to excel macro</title>
      <link>https://community.qlik.com/t5/QlikView/Change-selections-in-a-export-to-excel-macro/m-p/964325#M959986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW: I know i could do it with more expressions with set analys, but they're &lt;EM&gt;a lot&lt;/EM&gt; of objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-selections-in-a-export-to-excel-macro/m-p/964325#M959986</guid>
      <dc:creator />
      <dc:date>2015-10-26T14:55:34Z</dc:date>
    </item>
  </channel>
</rss>

