<?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: Boucle STORE Excel to QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Boucle-STORE-Excel-to-QVD/m-p/1929049#M1218902</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/179334"&gt;@Anouklbs&lt;/a&gt;&amp;nbsp; Maye be like this:&lt;/P&gt;
&lt;P&gt;suppose you have Excel file in this path : C:\Users\admin\Downloads\qvdsave\*.xls&lt;/P&gt;
&lt;P&gt;and you want copy all file into this path : C:\Users\admin\Downloads\qvdsave\B in qvd format :&lt;/P&gt;
&lt;P&gt;you can use this script :&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;   for each vFile in filelist('C:\Users\admin\Downloads\qvdsave\*.xls')
   
   let vFileName = subfield(subfield(vFile,'\',-1),'.',1) ;

    YourTableName:

    load *,'$(vFile)' as Filename

    from [$(vFile)]
    (biff, embedded labels, table is Sheet1$);

     STORE YourTableName INTO  'C:\Users\admin\Downloads\qvdsave\B\$(vFileName).qvd';

next vFile&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1652258757715.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79148i7D0C7539C080E36A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_0-1652258757715.png" alt="Taoufiq_Zarra_0-1652258757715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 08:46:04 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2022-05-11T08:46:04Z</dc:date>
    <item>
      <title>Boucle STORE Excel to QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Boucle-STORE-Excel-to-QVD/m-p/1928639#M1218887</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to convert several Excel files contained in a folder A to save them in another folder B under QVD format. Is there a solution by "for loop" to convert each file one by one under QVD format by the "STORE" function?&lt;/P&gt;
&lt;P&gt;Thanking you in advance,&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boucle-STORE-Excel-to-QVD/m-p/1928639#M1218887</guid>
      <dc:creator>Anouklbs</dc:creator>
      <dc:date>2022-05-10T14:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Boucle STORE Excel to QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Boucle-STORE-Excel-to-QVD/m-p/1929049#M1218902</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/179334"&gt;@Anouklbs&lt;/a&gt;&amp;nbsp; Maye be like this:&lt;/P&gt;
&lt;P&gt;suppose you have Excel file in this path : C:\Users\admin\Downloads\qvdsave\*.xls&lt;/P&gt;
&lt;P&gt;and you want copy all file into this path : C:\Users\admin\Downloads\qvdsave\B in qvd format :&lt;/P&gt;
&lt;P&gt;you can use this script :&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;   for each vFile in filelist('C:\Users\admin\Downloads\qvdsave\*.xls')
   
   let vFileName = subfield(subfield(vFile,'\',-1),'.',1) ;

    YourTableName:

    load *,'$(vFile)' as Filename

    from [$(vFile)]
    (biff, embedded labels, table is Sheet1$);

     STORE YourTableName INTO  'C:\Users\admin\Downloads\qvdsave\B\$(vFileName).qvd';

next vFile&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1652258757715.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79148i7D0C7539C080E36A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_0-1652258757715.png" alt="Taoufiq_Zarra_0-1652258757715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Boucle-STORE-Excel-to-QVD/m-p/1929049#M1218902</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2022-05-11T08:46:04Z</dc:date>
    </item>
  </channel>
</rss>

