<?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 How to automatically load .xlsx file into Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315176#M708637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried below script and it works for .xls :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MODELED_Folder="C:\Users\Administrator\Desktop\MY_Report";&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;for each file in filelist('$(MODELED_Folder)\*.xls')&lt;/P&gt;&lt;P&gt;load*&lt;/P&gt;&lt;P&gt;from $(file)(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;next file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot change it for .xlsx file.&lt;/P&gt;&lt;P&gt;I tried to change the format to "ooxml", but it doesn't work.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has the solution for .xlsx?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be much appreciated.... thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Nov 2011 09:48:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-13T09:48:26Z</dc:date>
    <item>
      <title>How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315176#M708637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried below script and it works for .xls :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MODELED_Folder="C:\Users\Administrator\Desktop\MY_Report";&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;" /&gt;&lt;/P&gt;&lt;P&gt;for each file in filelist('$(MODELED_Folder)\*.xls')&lt;/P&gt;&lt;P&gt;load*&lt;/P&gt;&lt;P&gt;from $(file)(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;next file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cannot change it for .xlsx file.&lt;/P&gt;&lt;P&gt;I tried to change the format to "ooxml", but it doesn't work.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has the solution for .xlsx?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be much appreciated.... thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 09:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315176#M708637</guid>
      <dc:creator />
      <dc:date>2011-11-13T09:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315177#M708638</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;Check the following code, it's very similar to yours but the path in the first variable is single quoted instead and the loop varies a bit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;&lt;EM&gt;MODELED_Folder&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = &lt;/SPAN&gt;'C:\Files\QV'&lt;SPAN class="s1"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;EACH&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;&lt;EM&gt;file&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;IN&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;FILELIST&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;'$(MODELED_Folder)\*.xlsx'&lt;SPAN class="s1"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &lt;EM&gt;ExcelData&lt;/EM&gt;: &lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Field1&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Field2&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;[$(file)]&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; (&lt;/SPAN&gt;&lt;STRONG&gt;ooxml&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;embedded&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;labels&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;table&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;EM&gt;Sheet1&lt;/EM&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a very dummy Excel spreadsheet with just two columns, that will concatenate automatically to the previous XLSX file loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;BI Consultant&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 18:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315177#M708638</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-13T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315178#M708639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp; If i want to load&amp;nbsp; Sheet2&amp;nbsp; and Sheet3 automatically then how do i do ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Antony.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 04:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315178#M708639</guid>
      <dc:creator />
      <dc:date>2011-11-14T04:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315179#M708640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help a lot!&lt;/P&gt;&lt;P&gt;By the way, I tried the above script, single quote for the first variable and&amp;nbsp; also the bracket here &lt;CODE class="jive-code"&gt;[$(file)].&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Still it doesn't work because of syntax error ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My qlikview is Version 10. But don't think that's not the exact problem.....&lt;/P&gt;&lt;P&gt;I wonder what is supposed to be the correct format of ooxml for .xlsx file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has the solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 19:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315179#M708640</guid>
      <dc:creator />
      <dc:date>2011-11-14T19:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315180#M708641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antony and sorry for not answering sooner,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd try the following script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;SET MODELED_Folder = 'C:\Files\QV';&lt;BR /&gt;&lt;BR /&gt;FOR EACH file IN FILELIST('$(MODELED_Folder)\*.xlsx')&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp; FOR i = 2 TO 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExcelData: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Field1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [$(file)] (ooxml, embedded labels, table is Sheet$(i));&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&amp;nbsp; NEXT&lt;BR /&gt;NEXT&amp;nbsp; &lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;BI Consultant&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 17:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315180#M708641</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-22T17:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315181#M708642</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'm using QlikView 10 as well (SR3 update 9061). The example code above works fine in my computer. It might be indeed something related to your Excel drivers. Did you try using and ODBC connection to the Excel instead of the plain file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;BI Consultant&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 17:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315181#M708642</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-22T17:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically load .xlsx file into Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315182#M708643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I'm trying to load data from XLSX files using a loop and using the sheet number.&lt;/P&gt;&lt;P&gt;I found that while using sheet numbers QlikView is throwing error.&lt;/P&gt;&lt;P&gt;I cannot use ODBC XLS connection and cannot use Sheet Names.&lt;/P&gt;&lt;P&gt;Can you pls help me? It seems the sheet number works for XLS but not for XLSX&lt;/P&gt;&lt;P&gt;for each vFiles in filelist('$(vDataFolder)*.xls')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i = 1 to 3&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; LOAD A&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; FROM [$(vDataFolder)$(vFileName)]&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; (ooxml, no labels, table is @$(i))&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 09:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-load-xlsx-file-into-Qlikview/m-p/315182#M708643</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2013-09-03T09:58:10Z</dc:date>
    </item>
  </channel>
</rss>

