<?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: Loading Multiple Excel Files and Multiple Excel sheets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742143#M660679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;this is super-versatile. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 22:49:06 GMT</pubDate>
    <dc:creator>andreas_koehler</dc:creator>
    <dc:date>2016-05-11T22:49:06Z</dc:date>
    <item>
      <title>Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742126#M660662</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 need help in loading Multiple Excel Files and Multiple Excel sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing an application on my local machine . I have a folder on my local machine(Not on server).&lt;/P&gt;&lt;P&gt;I have few excel files with different names. Each Excel file has different sheets(Each sheet name represents each table name) and with different names(No pattern).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to load all these excel files. &lt;/P&gt;&lt;P&gt;Can any one help me with proper code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't provide any links.. I have tried few codes but not working so please provide the code which can satisfy my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742126#M660662</guid>
      <dc:creator />
      <dc:date>2015-03-04T12:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742127#M660663</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;to load multiple Excel_files on your machine, you can use a FOR EACH loop to parse through the directory (you can set the working_directory using the DIRECTORY command so you don't have to repeat the file_path). You just need some commonality to provide a search_mask for your loop - but the ending .xls or .xlsx should be enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading multiple sheets is a bit more difficult if there is no recognizable pattern - then you cannot step through the sheets in a loop. If you know the exact sheet_names or you can load them from somewhere, you can use the variables in the LOAD_statements.&lt;/P&gt;&lt;P&gt;I guess you could also use the * in some way in your LOAD statements to just load every sheet that QlikView finds - the trouble with that is that if anything goes wrong, there are no details in the log to tell you which sheet made bahbah ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742127#M660663</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-04T12:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742128#M660664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all your sheets in all your files have the same fields, you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDataFolder = 'C:\Users\xxxxx\Documents\Qlikview\Community\Source\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vFile in filelist('$(vDataFolder)*.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OLEDB CONNECT32 TO [Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=Excel Files;DBQ=$(vFile);DriverId=1046;MaxBufferSize=2048;PageTimeout=5;"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; sqltables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vFileName = mid(vFile, index(vFile, '\', -1) + 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for iSheet = 0 to NoOfRows('Tables') - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [$(vFile)]&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, no labels, table is [$(vSheetName)]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DROP TABLE Tables;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742128#M660664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-04T12:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742129#M660665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;: Yes I could have done what You have suggested. Good Idea. Will remember from next time.&lt;/P&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/DataNibbler"&gt;DataNibbler&lt;/A&gt;&lt;/STRONG&gt;: Can you explain more with sample code?&lt;/P&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gabriel_kirst"&gt;gabriel_kirst&lt;/A&gt;&lt;/STRONG&gt;: As I have mentioned in the post each sheet is separate table. So the column names are different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742129#M660665</guid>
      <dc:creator />
      <dc:date>2015-03-04T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742130#M660666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Excel data (with multiple sheets and multiple excels) for the first time: &lt;/P&gt;&lt;P&gt;I have used the below query just to load only one Excel (Which has multiple sheets):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfRows('tables')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET sheetName = purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39));&lt;/P&gt;&lt;P&gt;&amp;nbsp; Main:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(sheetName)' as Sheet&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM workbook.xls (biff, embedded labels, table is [$(sheetName)]);&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;DROP TABLE tables; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not working (shows blank).&lt;/P&gt;&lt;P&gt;How to modify my code so that it reads multiple sheets of a single excel(Each sheet name is different from other sheet names)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742130#M660666</guid>
      <dc:creator />
      <dc:date>2015-03-04T13:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742131#M660667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code you pasted is missing the creating of the table named &lt;EM&gt;tables&lt;/EM&gt;. Normally this is created with the SQLTABLES command after making an ODBC connection to the excel file. See &lt;A _jive_internal="true" data-avatarid="7496" data-externalid="" data-online="false" data-presence="null" data-userid="144710" data-username="gabriel_kirst" href="https://community.qlik.com/people/gabriel_kirst" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f6f6f6;"&gt;Gabriel Rocha&lt;/A&gt;'s post above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742131#M660667</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-04T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742132#M660668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt; : I have tried the code &lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="144710" data-objecttype="3" href="https://community.qlik.com/people/gabriel_kirst" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Gabriel Rocha&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'s post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDataFolder = 'C:\Users\Axd\Sample';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vFile in filelist('$(vDataFolder)*.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OLEDB CONNECT32 TO [Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=Excel Files;DBQ=$(vFile);DriverId=1046;MaxBufferSize=2048;PageTimeout=5;"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; sqltables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vFileName = mid(vFile, index(vFile, '\', -1) + 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for iSheet = 0 to NoOfRows('Tables') - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;// '$(sheetName)' as Sheet &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [$(vFile)]&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, no labels, table is [$(vSheetName)]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DROP TABLE Tables;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is giving me nothing(Excel is not loaded. Giving blank DataModel). What am I missing??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742132#M660668</guid>
      <dc:creator />
      <dc:date>2015-03-04T14:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742133#M660669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the Document log to see what files were actually processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742133#M660669</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-04T14:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742134#M660670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't missing the last "\" in your variable&amp;nbsp; vDataFolder?&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;Should be let vDataFolder = 'C:\Users\Axd\Sample\';&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;By the way, to load your tables separated, you can try using QUALIFY before your load, and maybe setting your load name as something like "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[$(vFile)]_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[$(vSheetName)])".&lt;/SPAN&gt;&lt;/SPAN&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;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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope it helps.&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;Gabriel&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742134#M660670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-04T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742135#M660671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;HI &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/rwunderlich"&gt;rwunderlich&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I have checke the logfile.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Following is the message&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun'&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;let vDataFolder = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;C:\Users\Axd\Sample'&lt;/SPAN&gt;'&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt; for each vFile in filelist('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;C:\Users\Axd\Sample&lt;/SPAN&gt;*.xlsx')&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; Execution finished.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742135#M660671</guid>
      <dc:creator />
      <dc:date>2015-03-04T14:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742136#M660672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gabriel_kirst"&gt;gabriel_kirst&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is fine. I have made it proper&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;let vDataFolder = 'C:\Users\Axd\Sample\';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not working.&lt;/P&gt;&lt;P&gt;Can I get the Sample application with code ?? I have attached the sample Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742136#M660672</guid>
      <dc:creator />
      <dc:date>2015-03-04T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742137#M660673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your file a xls or a xlsx?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Cause the for each is configured to read .xlsx files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 14:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742137#M660673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-04T14:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742138#M660674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gabriel_kirst"&gt;gabriel_kirst&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I had tried that as well: Look below for the script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;let vDataFolder = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'C:\Users\Axd\Sample\'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each vFile in filelist('$(vDataFolder)*.xls')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OLEDB CONNECT32 TO [Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=Excel Files;DBQ=$(vFile);DriverId=1046;MaxBufferSize=2048;PageTimeout=5;"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; SQLTables ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vFileName = mid(vFile, index(vFile, '\', -1) + 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for iSheet = 0 to NoOfRows('Tables') - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;// '$(sheetName)' as Sheet&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [$(vFile)]&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, no labels, table is [$(vSheetName)]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP TABLE Tables;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Error which I have attached.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have changed SQL Tables; to SQLTables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am getting BadZip File&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;From&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;C:\Users\Axd\Sample\Data.Xls]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742138#M660674</guid>
      <dc:creator />
      <dc:date>2015-03-04T15:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742139#M660675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the log it processed no files. It looks like you are missing the \ at the end of "Sample\".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742139#M660675</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-04T16:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742140#M660676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find a working example in the attached zip file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 17:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742140#M660676</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-04T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742141#M660677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi &lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is it possible to attach the files Individually?? I am not able to download the ZIP file(Have problem in downloading ZIP files)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742141#M660677</guid>
      <dc:creator />
      <dc:date>2015-03-05T07:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742142#M660678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, may i know how is this connection string generated?&lt;/P&gt;&lt;P&gt;i want to create a 64 bit connection and i have installed Microsoft ACE OLEDB 12.0&lt;/P&gt;&lt;P&gt;but which oledb provider should i choose?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 02:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742142#M660678</guid>
      <dc:creator>laujerry</dc:creator>
      <dc:date>2015-04-30T02:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Multiple Excel Files and Multiple Excel sheets</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742143#M660679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;this is super-versatile. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 22:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Multiple-Excel-Files-and-Multiple-Excel-sheets/m-p/742143#M660679</guid>
      <dc:creator>andreas_koehler</dc:creator>
      <dc:date>2016-05-11T22:49:06Z</dc:date>
    </item>
  </channel>
</rss>

