<?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 from Multiple excel sheetsinto QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403164#M1169318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=D:\Users\Himanshu\Desktop\Harsh FSource\DBHarsh.xlsx];&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;tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLTables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables1:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;replace(TABLE_NAME,chr(39),'') as NEW&lt;/P&gt;&lt;P&gt;resident tables;&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;DROP Table tables;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let var=NoOfRows('Tables1');&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;FOR i = 0 to $(var)-1&lt;/P&gt;&lt;P&gt;let sheetName=subfield(peek('NEW', i,'Tables1'),'$',1);&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[$(sheetName)]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [$(sheetName)])&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;; &lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Tables1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 05:13:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-15T05:13:40Z</dc:date>
    <item>
      <title>Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403158#M1169312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody help me out in completing this challenge&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;well the challenge is &lt;/P&gt;&lt;P&gt;I have a folder in which i have the source files along with the qv file&lt;/P&gt;&lt;P&gt;and the source files which are all xlsx&amp;nbsp; files &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things to remembe are before understandinng the result i need:&lt;/P&gt;&lt;P&gt;-Source files are not limited in number and may have different names but are all xlsx files&lt;/P&gt;&lt;P&gt;- source files may have no of worksheets and are not limited in number and may vary from book to book&lt;/P&gt;&lt;P&gt;-Name of every sheet in the every excel file is different &lt;/P&gt;&lt;P&gt;-In every source excel file only the 1st sheet will have the header and all other following sheets in that file will have no headers &lt;/P&gt;&lt;P&gt;- The no of rows filled are not confined to anylimit and may vary from sheet to sheet in the file&lt;/P&gt;&lt;P&gt;-the headers are similar in all the source files provided in the 1st sheet of every source file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result i need :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based on the above conditions ,If i reload the qv by placing all the source files in the folder ,i need to the qv to be reloaded completely with the data in the source files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for refernce the source files are as attached in the image and are attched in excel formats fr quick reference &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="21733" class="jive-image jiveImage" alt="sample1.jpg" src="https://community.qlik.com/legacyfs/online/21733_sample1.jpg" /&gt;&lt;IMG __jive_id="21734" class="jive-image jiveImage" alt="sample2.jpg" src="https://community.qlik.com/legacyfs/online/21734_sample2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code im trying in qlikview is as per the following&lt;/P&gt;&lt;P&gt;***********************************************************************************&lt;/P&gt;&lt;P&gt;for each vFileName in FileList('D:\Users\aju\Desktop\anand\*.xlsx');&lt;/P&gt;&lt;P&gt;for Each vSheet in $(vFileName)&lt;/P&gt;&lt;P&gt;Temp_Sheets:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM $(vFileName)&lt;/P&gt;&lt;P&gt;(biff, embedded labels, header is 1 lines, table is $(vSheet));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vMaxSheet = peek('Sheets', -1, 'Temp_Sheets');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Temp_Sheets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for vSheetNo = 1 to $(vMaxSheet)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM $(vFileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (biff, embedded labels, header is 1 lines, table is $(vSheet));&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;****************************************************************************************************************&lt;/P&gt;&lt;P&gt;I request you help and resolve this challenge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ahead !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 19:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403158#M1169312</guid>
      <dc:creator />
      <dc:date>2012-09-12T19:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403159#M1169313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find here a working example of pulling in the Excel files you uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note it may not work without tweaking for Excel files other than the ones you uploaded, or on a machine with slightly different Excel drivers.&amp;nbsp; As far as I can see it works without issue over your files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you would be happy for me to upload the example to the Shared QlikViews area ( &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/qlikviews"&gt;http://community.qlik.com/qlikviews&lt;/A&gt; ) as this will then make it Personal Edition enabled for other users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post back if you have any problems with the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 21:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403159#M1169313</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2012-09-13T21:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403160#M1169314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton Steve, Working on it , would be going on a vacation for couple of days and so will have no access to QV ,thus would revert to you soon Im back in office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Anand &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 14:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403160#M1169314</guid>
      <dc:creator />
      <dc:date>2012-09-14T14:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403161#M1169315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Excel Sheets workbook contains space in Name i.e.&amp;nbsp; Data 1,Data 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the code above but doesn't work where there is space in workbook name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403161#M1169315</guid>
      <dc:creator />
      <dc:date>2013-01-14T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403162#M1169316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be requiring square brackets around the sheet name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the wizard to pull in a single sheet and compare that to the code&lt;/P&gt;&lt;P&gt;in your loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;http://www.quickintelligence.co.uk/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 16:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403162#M1169316</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-01-14T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403163#M1169317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please help with an Example, that would be a great help for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 16:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403163#M1169317</guid>
      <dc:creator />
      <dc:date>2013-01-14T16:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403164#M1169318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=D:\Users\Himanshu\Desktop\Harsh FSource\DBHarsh.xlsx];&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;tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQLTables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables1:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;replace(TABLE_NAME,chr(39),'') as NEW&lt;/P&gt;&lt;P&gt;resident tables;&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;DROP Table tables;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let var=NoOfRows('Tables1');&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;FOR i = 0 to $(var)-1&lt;/P&gt;&lt;P&gt;let sheetName=subfield(peek('NEW', i,'Tables1'),'$',1);&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[$(sheetName)]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [$(sheetName)])&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;; &lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Tables1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 05:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403164#M1169318</guid>
      <dc:creator />
      <dc:date>2013-01-15T05:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403165#M1169319</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;Had one concern. Can we automate the QV Source file (say Excel) refresh through a CRON job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 05:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403165#M1169319</guid>
      <dc:creator />
      <dc:date>2014-09-24T05:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403166#M1169320</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;You can kick things off from the command line, which should mean you can use CRON to do this (I have only used Windows Scheduler and QMC in the past).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best article I have seen on the parameters you have available is by &lt;A href="https://community.qlik.com/qlik-users/3560"&gt;Tim Benoit&lt;/A&gt; and can be found here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewmaven.blogspot.co.uk/2008/08/qlikview-command-line-and-automation.html" style="font-size: 10pt; line-height: 1.5em;" title="http://qlikviewmaven.blogspot.co.uk/2008/08/qlikview-command-line-and-automation.html"&gt;http://qlikviewmaven.blogspot.co.uk/2008/08/qlikview-command-line-and-automation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 07:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403166#M1169320</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-09-24T07:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403167#M1169321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A "life saver", Steve.&lt;/P&gt;&lt;P&gt;Thanks so much for sharing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403167#M1169321</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2016-11-10T05:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403168#M1169322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following, while trying to Store into qvd's, all the qvd's get created, &lt;STRONG&gt;but the data is from the first Workbook 2014&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 excel workbooks - 2014,2015,2016, each workbook has 4 sheets and I get 12 QVD's 2014Jan.qvd 2014Feb.qvd..............................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014Jan.qvd is correct, but 2015Jan.qvd and 2016Jan.qvd have the data from 2014Jan.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas my friend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFolder = '.\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EACH WorkBook IN FILELIST('$(vFolder)*.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ODBC CONNECT32 TO [Excel Files;DBQ=$(WorkBook)];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; exceltables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; SQLTABLES;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET vFileName = SUBFIELD(MID(WorkBook, INDEX(WorkBook, '\', -1) + 1),'.',1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE Excel FileName $(vFileName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FOR i = 0 TO NOOFROWS('exceltables')-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET WorkSheet = PURGECHAR(PURGECHAR(PEEK('TABLE_NAME',i, 'exceltables'),CHR(36)),CHR(39));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; NOCONCATENATE&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; FILENAME() AS Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Department, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [$(WorkBook)]&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is [$(WorkSheet)]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE $(WorkSheet) **************************************;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SLEEP 1000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; STORE [$(WorkSheet)] INTO $(vFileName)$(WorkSheet).QVD(QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE $(WorkSheet) **************************************;&lt;/P&gt;&lt;P&gt;&amp;nbsp; NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP TABLE exceltables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT WorkBook&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 23:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403168#M1169322</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-03-07T23:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403169#M1169323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to add a DROP TABLES line, after each STORE of the QVD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DROP TABLE [$(WorkSheet)];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What will be happening at the moment is that a table called &lt;STRONG&gt;Jan&lt;/STRONG&gt; will get created first, for 2014.&amp;nbsp; This will still be there when you get back to that month for 2015.&amp;nbsp; The 2015 load of &lt;STRONG&gt;Jan&lt;/STRONG&gt; will therefore go into &lt;STRONG&gt;Jan-1&lt;/STRONG&gt; (because of the NOCONCATENATE).&amp;nbsp; When you STORE &lt;STRONG&gt;Jan&lt;/STRONG&gt; it will store the original one, rather than the new one.&amp;nbsp; If you look at the data model after the load you will find loads of tables with numeric suffixes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pretty much every time you do a STORE in a load script it should be followed by a DROP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope that stores your issue (and that I get a mention in one of your videos on the topic!).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Steve&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 00:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403169#M1169323</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-03-08T00:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403170#M1169324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're a gentleman, a definite mention in the next video!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;explained brilliantly too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403170#M1169324</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2017-03-08T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403171#M1169325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steve... i have a strange problem. For me this code doesn't work if all pasted as it is including loops. i get a script error... no error number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it works if i run it for a single file with assigning filename and sheet name manually to the variables.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202728_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 06:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403171#M1169325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-18T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple excel files from Multiple excel sheetsinto QV</title>
      <link>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403172#M1169326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which code are you trying?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you paste the code which works without a loop, and the code that fails with a loop, so I can see what is the likely problem.&amp;nbsp; There is nothing in the screengrab that looks wrong.&amp;nbsp; I might try dropping the first 10 though, as that could have an impact.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 07:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-multiple-excel-files-from-Multiple-excel-sheetsinto-QV/m-p/403172#M1169326</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-05-18T07:30:30Z</dc:date>
    </item>
  </channel>
</rss>

