<?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: load multiple excel files with for loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871432#M304639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need for a loop, just&lt;/P&gt;&lt;P&gt;LOAD * FROM C:\Users\name\Documents\Qlikview\script\file*.xls;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 10:46:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-22T10:46:33Z</dc:date>
    <item>
      <title>load multiple excel files with for loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871430#M304637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have five excel sheets with different column names. I want to load this with a for loop(without load data with 'table files': is this possible?).&lt;/P&gt;&lt;P&gt;The names of the files are: file1, file2, file3, file4 and file5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found this script:&lt;/P&gt;&lt;P&gt;FOR a=1 to 5&lt;/P&gt;&lt;P&gt;LOAD * FROM C:\Users\name\Documents\Qlikview\script\file$(a).xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR counter=1 to 5 step 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET filename=x$(counter).xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF rand( )&amp;lt;0.5 THEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT For Unless counter=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM $(filename);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the error: cannot find: LOAD * FROM x1.xls.&lt;/P&gt;&lt;P&gt;Can someone help me? What is wrong?&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, 22 Jun 2015 10:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871430#M304637</guid>
      <dc:creator />
      <dc:date>2015-06-22T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple excel files with for loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871431#M304638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maichel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain this query little bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did not get what exactly you are looking for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871431#M304638</guid>
      <dc:creator />
      <dc:date>2015-06-22T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple excel files with for loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871432#M304639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need for a loop, just&lt;/P&gt;&lt;P&gt;LOAD * FROM C:\Users\name\Documents\Qlikview\script\file*.xls;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871432#M304639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-22T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple excel files with for loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871433#M304640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the script Editor and load one of the files using wizard.&lt;/P&gt;&lt;P&gt;in your load LOAD * FROM C:\Users\name\Documents\Qlikview\script\file$(a).xls;&lt;/P&gt;&lt;P&gt;the tab is missing from which Qlikview should load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871433#M304640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-22T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: load multiple excel files with for loop</title>
      <link>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871434#M304641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Go Through This link,it will help you&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/54342"&gt;Loading from multiple Excel files and multiple sheets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-multiple-excel-files-with-for-loop/m-p/871434#M304641</guid>
      <dc:creator>d_koti24</dc:creator>
      <dc:date>2015-06-22T10:48:57Z</dc:date>
    </item>
  </channel>
</rss>

