<?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: Consolidate multiple sheets from multiple excel files.!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860263#M301186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 06:02:41 GMT</pubDate>
    <dc:creator>Siva_Sankar</dc:creator>
    <dc:date>2015-06-10T06:02:41Z</dc:date>
    <item>
      <title>Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860260#M301183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="graffiti-message-hello-smiley-emoticon.gif" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/88887_graffiti-message-hello-smiley-emoticon.gif" style="height: auto;" /&gt;&lt;STRONG style=": ; color: #000000; font-size: 12pt;"&gt; Community,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement to consolidate all excel sheets from multiple workbooks. I searched in forum and got some ideas but I have some problem in getting the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* My data is excel files and each excel consists 12 months of data and addition&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;al two sheets are for some analysis (sometimes they add additional sheets for analysis). I need to consolidate all months data &lt;SPAN style="font-size: 13.3333330154419px;"&gt;(Eg; Jan'15 to Dec'15)&lt;/SPAN&gt; from all excel files but should exclude the sheets. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; * They added two columns in the year 2015 and they will add more based on the future needs . So it should pick the new headers too. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Snapshots:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;2013 (Jan month):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;IMG alt="2013.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88872_2013.PNG" style="height: auto;" /&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt; &lt;STRONG style="font-size: 13.3333330154419px;"&gt;2015 (Jan month) (Additional fields added)):&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;IMG alt="2015.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88873_2015.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;My out put should be like below:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Output.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88884_Output.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone guide me or provide me the code?&lt;/P&gt;&lt;P&gt;The above screenshots are just mock data and attached the same.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="animated-thank-you-smiley-emoticon.gif" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/88885_animated-thank-you-smiley-emoticon.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 03:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860260#M301183</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T03:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860261#M301184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tAMIL,&lt;/P&gt;&lt;P&gt;Find the attached. Guess you missed the other sheets in the excel. Let me know this is what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 05:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860261#M301184</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-06-10T05:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860262#M301185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="hi.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88888_hi.gif" style="height: auto;" /&gt;Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, The output is correct. But i have many excel files and need to loop through all the excel as well as sheets. In that case we need a for loop. &lt;IMG alt="facing-problems-smiley-emoticon.gif" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88898_facing-problems-smiley-emoticon.gif" style="height: auto;" /&gt; Could you provide the code for that.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 05:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860262#M301185</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T05:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860263#M301186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 06:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860263#M301186</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-06-10T06:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860264#M301187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the below code but it just showing script error the load statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* I just tried to consolidate the sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88906" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88906_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDataFolder = 'C:\Users\Tamil\Desktop\d\';&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; Temp_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; // Enumerate sheets&lt;/P&gt;&lt;P&gt;&amp;nbsp; for iSheet = 0 to NoOfRows('Temp_Tables') - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vSheetName = peek('TABLE_NAME', iSheet, 'Temp_Tables');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vSheetName = Replace(replace(vSheetName, '$', ''),Chr(39)&amp;amp;Chr(39),Chr(39));&amp;nbsp; // sqltables seems to add a random $ sign and single quotes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If (Wildmatch('$(vSheetName)','*'&amp;amp;Chr(39)&amp;amp;'*')) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Load the data&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt; &lt;SPAN style="color: #ff0000;"&gt; SampleData:&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; LOAD *,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vFileName)' as [File Name],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \\script error&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vSheetName)' as [Sheet Name]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; FROM [$(vFile)]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: 'arial black', 'avant garde';"&gt;&lt;EM&gt;&amp;nbsp; (ooxml, embedded labels, table is [$(vSheetName)]);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DROP TABLE Temp_Tables;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 07:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860264#M301187</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T07:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860265#M301188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a working example with source and qlikviewfile here &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-7860"&gt;https://community.qlik.com/docs/DOC-7860&lt;/A&gt;&amp;nbsp; &lt;BR /&gt;Try checking it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 08:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860265#M301188</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-06-10T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860266#M301189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I have tried and the script working till the line "LET sheetName = purgeChar(purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39)), chr(36));"&lt;/P&gt;&lt;P&gt;after that it goes directly to the line NEXT i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not taking the fields. Can you have a look (In debug mode). Just check with the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR EACH file in FileList('C:\Users\Tamilarasu.Nagaraj\Desktop\d\*.xlsx');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//In order to get the file information from SQLtables command making use of the ODBC connection format &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;tables: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQLtables; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DISCONNECT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;FOR i = 0 to NoOfRows('tables')-1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET sheetName = purgeChar(purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39)), chr(36));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Load * ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;FileBaseName()as FIle,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;FileDir() as Dir,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \\Skipped&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;FileName() as File_Name,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'$(sheetName)' as Sheet_name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;From $(file)(ooxml, embedded labels, table is [$(sheetName)]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;STRONG&gt;NEXT i&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 08:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860266#M301189</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T08:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860267#M301190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="88917" alt="are-you-there-smiley-emoticon.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88917_are-you-there-smiley-emoticon.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Finally its working. But I want to concatenate the sheets (in future they will add some fields) instead of joining all the sheet. I have tried but not able to find the way. Could you tell me where to adjust the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached sample files !.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 09:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860267#M301190</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T09:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860268#M301191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to combine all the tables, See the &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;blue color script&lt;/STRONG&gt;&lt;/SPAN&gt; (in the end)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR EACH file in FileList('C:\Users\Settu.Periasamy\Desktop\QlikComm\*.xlsx');&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;SQLtables;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfRows('Temp')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET sheetName = purgeChar(peek('TABLE_NAME', i, 'Temp'), chr(36));&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET sheetName=replace(sheetName,chr(39)&amp;amp;chr(39),chr(39));&lt;/P&gt;&lt;P&gt;If (Wildmatch(sheetName,'*'&amp;amp;Chr(39)&amp;amp;'*')) then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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; FileBaseName()as FIle,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileDir() as Dir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileName() as File_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(sheetName)' as Sheet_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From $(file)(ooxml, embedded labels, table is [$(sheetName)], filters(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove(Row, RowCnd(CellValue, 1, StrCnd(null)))));&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop table Temp;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3366ff;"&gt;&lt;EM&gt;Concatenate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #3366ff;"&gt;LOAD *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #3366ff;"&gt;Resident Table;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;EM&gt;DROP Table Table;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;I checked. it is working fine.&amp;nbsp; Let us know, if it not working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Settu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860268#M301191</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-06-10T11:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860269#M301192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Hello Settu,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Fantastic !!&lt;/EM&gt;&lt;IMG __jive_id="88943" alt="banana-with-guitar-smiley-emoticon.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88943_banana-with-guitar-smiley-emoticon.gif" style="height: auto;" /&gt;. &lt;EM&gt;My whole day gone for the above script.&lt;/EM&gt;&lt;IMG __jive_id="88944" alt="dead-computer-geek-smiley-emoticon.gif" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/88944_dead-computer-geek-smiley-emoticon.gif" style="height: auto;" /&gt;&amp;nbsp; &lt;EM&gt;Thanks a lot...!!!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Siva Sankar:&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;IMG __jive_id="88945" alt="friendship-handshake-smiley-emoticon.gif" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/88945_friendship-handshake-smiley-emoticon.gif" style="height: auto;" /&gt;&lt;EM&gt;Thanks a lot for the start!!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Have a nice evening!!&amp;nbsp; Attached the QV file and I hope it will be useful for someone!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860269#M301192</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-06-10T12:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860270#M301193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How r posting these images...its quite funny...can u tell me bro &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/860270#M301193</guid>
      <dc:creator>help4qv123</dc:creator>
      <dc:date>2015-06-10T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Consolidate multiple sheets from multiple excel files.!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/1906293#M1217928</link>
      <description>&lt;P&gt;Hi Tamil. Can you provide the code in some other format like text?? I am not able to view the file. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 03:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Consolidate-multiple-sheets-from-multiple-excel-files/m-p/1906293#M1217928</guid>
      <dc:creator>N_1</dc:creator>
      <dc:date>2022-03-17T03:21:17Z</dc:date>
    </item>
  </channel>
</rss>

