<?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 Getting list of Excels from particular folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488595#M182570</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;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; How to get the list of excels automatically from an particular folder to automate the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Raviteja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 04:58:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-17T04:58:23Z</dc:date>
    <item>
      <title>Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488595#M182570</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;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; How to get the list of excels automatically from an particular folder to automate the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Raviteja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 04:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488595#M182570</guid>
      <dc:creator />
      <dc:date>2013-07-17T04:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488596#M182571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raviteja,&lt;/P&gt;&lt;P&gt;try to use this code.&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;SUB GenerateList (Root)&lt;/P&gt;&lt;P class="Code"&gt;FOR Each Ext in 'xls', 'xlsx'&lt;/P&gt;&lt;P class="Code"&gt;FOR Each File in filelist (Root&amp;amp;' \*.' &amp;amp; Extension)&lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(File)' as Name, &lt;/P&gt;&lt;P class="Code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autogenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;NEXT File&lt;/P&gt;&lt;P class="Code"&gt;NEXT Ext&lt;/P&gt;&lt;P class="Code"&gt;FOR Each Dir in dirlist (Root&amp;amp;' \*' )&lt;/P&gt;&lt;P class="Code"&gt;call GenerateList (Verzeichnis)&lt;/P&gt;&lt;P class="Code"&gt;NEXT Dir&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 class="Code"&gt;ENDSUB&lt;/P&gt;&lt;P class="Code"&gt;CALL GenerateList ('C:')&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;For larger number of files use this solution &lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/361425#361425" title="http://community.qlik.com/message/361425#361425"&gt;http://community.qlik.com/message/361425#361425 &lt;/A&gt;&lt;/P&gt;&lt;P class="Code"&gt;which is much more rapid than that one above.&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 05:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488596#M182571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-17T05:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488597#M182572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raviteja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all u should set the path of the folder from where u have to retrieve ur excel files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let vDataFolder= '..\Data Sources\';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can use the code which pulls data from each and every excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// enumerate files&lt;BR /&gt;FOR EACH vFile in filelist('$(vDataFolder)YouFile*.xlsx');&lt;BR /&gt;&amp;nbsp; let vFileName = SubField(vFile,'.',1);&lt;BR /&gt;&amp;nbsp; let vFileName = mid(vFileName, index(vFileName, '\', -1) + 1);&amp;nbsp; &lt;/P&gt;&lt;P&gt;//Connection to Excel Files&lt;BR /&gt;OLEDB CONNECT32 To [Excel Files;DBQ=$(vFile)];&lt;/P&gt;&lt;P&gt;//Read &amp;amp; Store the Sheets in Buffer&lt;BR /&gt;Temp_tables:&lt;BR /&gt;sqltables;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;for iSheet = 0 to NoOfRows('Temp_tables')-1&lt;/P&gt;&lt;P&gt;let vSheetName = peek('TABLE_NAME', iSheet, 'Temp_tables');&lt;BR /&gt;Let vSheetName=Replace(vSheetName,'$','');&lt;BR /&gt;Let vSheetName=Replace(vSheetName,Chr(39),'');&lt;BR /&gt;LET vYear=Num#(SubField(vFileName,'_',2));&lt;BR /&gt;Let vCountry = if(vSheetName='India','1001','1002');&lt;/P&gt;&lt;P&gt;IndiaJournal:&lt;BR /&gt;CrossTable(Months2, Data, 3)&lt;BR /&gt;LOAD [GL Account], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MIS, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [India MIS], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Period 1],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Period 2], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Period 3]&lt;BR /&gt;FROM&lt;BR /&gt;[$(vFile)]&lt;BR /&gt;(ooxml, embedded labels, table is [$(vSheetName)]);&lt;/P&gt;&lt;P&gt;Journal:&lt;BR /&gt;Load *&lt;BR /&gt;Resident IndiaJournal;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Drop table IndiaJournal;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;DROP Table Temp_tables;&lt;/P&gt;&lt;P&gt;NEXT vFile;&lt;/P&gt;&lt;P&gt;//Store the table in QVD&lt;BR /&gt;Store Journal into ..\Data Sources\Journal.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 05:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488597#M182572</guid>
      <dc:creator>parthiband</dc:creator>
      <dc:date>2013-07-17T05:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488598#M182573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Refer the following link, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviewmaven.blogspot.in/2008/09/loading-all-of-files-from-folder.html"&gt;http://qlikviewmaven.blogspot.in/2008/09/loading-all-of-files-from-folder.html&lt;/A&gt;&lt;SPAN&gt; Regards. Siva&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 05:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488598#M182573</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2013-07-17T05:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488599#M182574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all..Let me check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488599#M182574</guid>
      <dc:creator />
      <dc:date>2013-07-17T17:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting list of Excels from particular folder</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488600#M182575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all..Let me check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-list-of-Excels-from-particular-folder/m-p/488600#M182575</guid>
      <dc:creator />
      <dc:date>2013-07-17T17:23:43Z</dc:date>
    </item>
  </channel>
</rss>

