<?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 Excel Files from multiple Folders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124792#M636427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kavita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It reloads but doesn't bring any data in...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 10:17:51 GMT</pubDate>
    <dc:creator>rido1421</dc:creator>
    <dc:date>2016-05-23T10:17:51Z</dc:date>
    <item>
      <title>Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124786#M636421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to load all files from all folders within a specific folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below piece of script. but when running it returns no data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the folder structure like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\Rido\Desktop\Test\2016\Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my file name is TestData.xlsx and is in the Jan folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to pull all the files from my Test folder no matter the year no matter the month .&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vAllPath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='C:\Users\Rido\Desktop\Test\*.xlsx';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;for&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;filelist&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vAllPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; AllDATA:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cars&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(File)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;next&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; Any Assistance is appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124786#M636421</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2016-05-23T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124787#M636422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All your excel files having single sheet or multiple sheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124787#M636422</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-23T09:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124788#M636423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single sheet...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124788#M636423</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2016-05-23T09:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124789#M636424</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;There is this bit of code here &lt;A href="https://community.qlik.com/docs/DOC-1306"&gt;Loading data from multiple xls-files from folder with subfolder&lt;/A&gt; as long as the files all have the same extension .xlsx this seems to work for me and can be modified to suite your needs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 09:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124789#M636424</guid>
      <dc:creator />
      <dc:date>2016-05-23T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124790#M636425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Try this,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14639980901395912" jivemacro_uid="_14639980901395912"&gt;
&lt;P&gt;Sub ScanFolder(Root) &lt;/P&gt;
&lt;P&gt;For Each FoundFile in Filelist( Root &amp;amp; '\*.' &amp;amp; xlsx) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Data: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Load&amp;nbsp; Cars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; FROM [$(FoundFile)] (ooxml, embedded labels, table is [Sheet1]);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next FoundFile &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;For Each SubDirectory in Dirlist( Root &amp;amp; '\*' ) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Call ScanFolder(SubDirectory) &lt;/P&gt;
&lt;P&gt;Next SubDirectory &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;End Sub &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Call ScanFolder('C:\Users\Rido\Desktop\Test') ;&lt;/P&gt;



&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124790#M636425</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-05-23T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124791#M636426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try This.. Hope it helps you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Directory &lt;SPAN style="color: #3d3d3d;"&gt;'C:\Users\Rido\Desktop\Test&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;For each File in filelist ('*.xlsx')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AllDATA:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Cars&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(File)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Sheet1);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;next&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;File;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124791#M636426</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2016-05-23T10:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124792#M636427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kavita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It reloads but doesn't bring any data in...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124792#M636427</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2016-05-23T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124793#M636428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;LET vQVDFilePath ='..\QVD';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sub ScanFolder(Root)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for each FileExtension in 'xlsx'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for each FoundFile in filelist( Root &amp;amp; '\*.' &amp;amp; FileExtension)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ODBC CONNECT TO [Excel Files;DBQ=$(FoundFile)];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Temp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQLtables; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DISCONNECT;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;junk ];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FOR i = 0 TO NOOFROWS('Temp')-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vSheetName = PURGECHAR(PURGECHAR(PEEK('TABLE_NAME', i, 'Temp'), CHR(39)), CHR(36));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONCATENATE(Data)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&amp;nbsp; *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILEBASENAME() AS FileName,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vSheetName)' AS Sheet_name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM $(FoundFile)(ooxml, embedded labels, table is [$(vSheetName)]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NEXT i&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLE Temp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP FIELD junk;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&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;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next FoundFile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next FileExtension&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for each SubDirectory in dirlist( Root &amp;amp; '\*' )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call ScanFolder(SubDirectory)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next SubDirectory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set ErrorMode=0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Drop Field A;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set ErrorMode=1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;STORE Data into $(vQVDFilePath)\FullData.qvd;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Call ScanFolder('D:\Root') ;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124793#M636428</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-23T10:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124794#M636429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using these statements:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14639985869086106" jivemacro_uid="_14639985869086106" modifiedtitle="true"&gt;
&lt;P&gt;LET path = 'your path';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUB DoDir(Root)&lt;/P&gt;
&lt;P&gt;FOR each File in filelist( Root &amp;amp; '\*.xlsx')&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; FROM&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [$(File)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (ooxml, no labels)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;NEXT File&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR each Dir in Dirlist (Root&amp;amp;'\*') &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL DoDir(Dir) &lt;/P&gt;
&lt;P&gt;NEXT Dir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;END SUB&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;CALL DoDir('$(path)\')&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124794#M636429</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-05-23T10:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124795#M636430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this will not work in case if new sheet is added (may be blank or any other) in same excel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124795#M636430</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-23T10:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124796#M636431</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;Can You Share Sample Excel files. Are you having one excel&amp;nbsp; with multiple sheets right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124796#M636431</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2016-05-23T10:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124797#M636432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct because it's not built to support multiple sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was said previously that there is only one sheet in the file &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124797#M636432</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-05-23T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124798#M636433</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;I get the error. "Cannot open file &lt;EM&gt;'Location of the file'&lt;/EM&gt; The system cannot find the file specified"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124798#M636433</guid>
      <dc:creator>rido1421</dc:creator>
      <dc:date>2016-05-23T10:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124799#M636434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not also work if by chance,in some excel sheet name is different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124799#M636434</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-23T10:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124800#M636435</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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;when all&amp;nbsp; sheets having same fields &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each Vpeek in&amp;nbsp; 'Sheet1','Sheet2','Sheet3','Sheet4';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMBER&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 $(Vpeek));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT Vpeek;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124800#M636435</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2016-05-23T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124801#M636436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't thought of that.&lt;/P&gt;&lt;P&gt;It have some limitations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124801#M636436</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-05-23T10:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Excel Files from multiple Folders</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124802#M636438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/rido1421"&gt;rido1421&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; 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;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Below script seems to be working fine for me. Attached sample file for your reference. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14640055318104609" jivemacro_uid="_14640055318104609" modifiedtitle="true"&gt;
&lt;P&gt;Sub ScanFolder(Root)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For each FileExtension in 'xlsx'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For Each FoundFile in Filelist( Root &amp;amp; '\*.' &amp;amp; FileExtension) &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Data: &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Load&amp;nbsp; Cars, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Value,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FileName() as FileName &lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM [$(FoundFile)] (ooxml, embedded labels, table is Sheet1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Next FoundFile &lt;/P&gt;
&lt;P&gt;NEXT FileExtension&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;For Each SubDirectory in Dirlist( Root &amp;amp; '\*' ) &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Call ScanFolder(SubDirectory) &lt;/P&gt;
&lt;P&gt;Next SubDirectory &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;End Sub &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Call ScanFolder('C:\Users\Tamil\Desktop\New folder') ;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125405_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 12:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-Excel-Files-from-multiple-Folders/m-p/1124802#M636438</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-05-23T12:15:04Z</dc:date>
    </item>
  </channel>
</rss>

