<?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: How to Load excel file name from specific folder into listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1552121#M598016</link>
    <description>&lt;P&gt;To get only first part of filename and get all files, not just excel:&lt;/P&gt;&lt;PRE&gt;For Each vFile in FileList('C:\Projects\*.*')

	Let vFileBase = SubField(SubField(vFile, '\', -1), '_', 1);
	
	Files:
	LOAD '$(vFileBase)' as FileName
	Autogenerate 1;
	
Next&lt;/PRE&gt;</description>
    <pubDate>Tue, 05 Mar 2019 06:15:01 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-03-05T06:15:01Z</dc:date>
    <item>
      <title>How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551666#M598011</link>
      <description>&lt;P&gt;I am having multiple Excel file in my specific folder. I just want to fetch all the file excel filname in my list box.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;C:\Test\sample1.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\sample2.xlsx&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \sample10.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .......................&lt;/P&gt;&lt;P&gt;In my listbox, i just want to list all the file such as "sample1.xlsx,sample2.xlsx,.......sample10.xlsx".....)&amp;nbsp;&lt;/P&gt;&lt;P&gt;file is dynamic and it should automatically load into listbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551666#M598011</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2024-11-16T04:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551672#M598012</link>
      <description>&lt;P&gt;Something like:&lt;/P&gt;&lt;PRE&gt;For Each vFile in FileList('C:\Test\sample*.xlsx')

	Files:
	LOAD FileBaseName() as FileName
	FROM [$(vFile)]
	(ooxml);
	
Next&lt;/PRE&gt;&lt;P&gt;Now use FileName in your listbox.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 11:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551672#M598012</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-03-04T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551697#M598013</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I want to trim and get only first words of every filename.&lt;/P&gt;&lt;P&gt;Filename will be : sample1_20190_989.xlsx,&amp;nbsp;sample2_20190_989.xlsx,Test101_20190_989.xlsx,etc&lt;/P&gt;&lt;P&gt;So final list box would be&amp;nbsp;&lt;/P&gt;&lt;P&gt;sample1&lt;/P&gt;&lt;P&gt;sample2&lt;/P&gt;&lt;P&gt;Test101&lt;/P&gt;&lt;P&gt;i am getting Script error.&lt;/P&gt;&lt;P&gt;Error Details below :&lt;/P&gt;&lt;P&gt;LOAD FileBaseName() as ProjectName&lt;BR /&gt;FROM [C:\projects\~$101_210_Main report.xlsx]&lt;BR /&gt;(ooxml)&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Note : File name may be anything. so i want get all the files from the folder.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 11:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551697#M598013</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-03-04T11:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551745#M598014</link>
      <description>&lt;P&gt;If you want to use wildcards in your filenames you can replace the "wild"-part with an *.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;SET vPathFilter = '&amp;lt;filepath\*_specific_file_ending.xlsx';&lt;BR /&gt;For Each vTempFile in FileList('$(vPathFilter)')&lt;BR /&gt;Images:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(vTempFile)' as FileName&lt;BR /&gt;AutoGenerate(1);&lt;BR /&gt;Next&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 12:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551745#M598014</guid>
      <dc:creator>chrislemm</dc:creator>
      <dc:date>2019-03-04T12:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551752#M598015</link>
      <description>&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;not load the corrected script.&lt;/P&gt;&lt;P&gt;SET vPathFilter = '&amp;lt;C:\Projects\\*_.xlsx&amp;gt;';&lt;BR /&gt;For Each vTempFile in FileList('$(vPathFilter)')&lt;BR /&gt;Images:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(vTempFile)' as &lt;SPAN&gt;FileName&lt;/SPAN&gt;&lt;BR /&gt;AutoGenerate(1);&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;FileName" not loading in the listbox. i'm using wild&amp;nbsp;*_ to use first word...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 13:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1551752#M598015</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-03-04T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1552121#M598016</link>
      <description>&lt;P&gt;To get only first part of filename and get all files, not just excel:&lt;/P&gt;&lt;PRE&gt;For Each vFile in FileList('C:\Projects\*.*')

	Let vFileBase = SubField(SubField(vFile, '\', -1), '_', 1);
	
	Files:
	LOAD '$(vFileBase)' as FileName
	Autogenerate 1;
	
Next&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Mar 2019 06:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1552121#M598016</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-03-05T06:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load excel file name from specific folder into listbox</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1552154#M598017</link>
      <description>&lt;P&gt;Excellent. Its working...&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 07:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-excel-file-name-from-specific-folder-into-listbox/m-p/1552154#M598017</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-03-05T07:26:04Z</dc:date>
    </item>
  </channel>
</rss>

