<?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 multiple sheets from an excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402492#M817481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your file is in XLSX format, you can use SQLTables to build a list of sheets in your file, then loop through these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=Your Excel File.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//use SQLTables to assemble a list of all the sheets in this Excel file&lt;/P&gt;&lt;P&gt;XLSSheetList:&lt;/P&gt;&lt;P&gt;SQLTables&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DISCONNECT; //from excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for n = 0 to NoOfRows('XLSSheetList')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vXLSXSheet = peek('TABLE_NAME', n, 'XLSSheetList');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Your Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD [your field list]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Your Excel File.xlsx]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, no labels, table is '$(vXLSXSheet )');&lt;/P&gt;&lt;P&gt;next n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2017 15:10:05 GMT</pubDate>
    <dc:creator>marcus_malinow</dc:creator>
    <dc:date>2017-08-29T15:10:05Z</dc:date>
    <item>
      <title>How to load multiple sheets from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402491#M817480</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 anyone please help me to load multiple sheets from an excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel file with 16+ sheets and every week the number of sheets may vary. The sheet names are like 'Reseller master France','Reseller master Germany' etc and all sheet has same columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to consolidate the data from all sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Indu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402491#M817480</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple sheets from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402492#M817481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your file is in XLSX format, you can use SQLTables to build a list of sheets in your file, then loop through these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=Your Excel File.xlsx];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//use SQLTables to assemble a list of all the sheets in this Excel file&lt;/P&gt;&lt;P&gt;XLSSheetList:&lt;/P&gt;&lt;P&gt;SQLTables&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DISCONNECT; //from excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for n = 0 to NoOfRows('XLSSheetList')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vXLSXSheet = peek('TABLE_NAME', n, 'XLSSheetList');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Your Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD [your field list]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Your Excel File.xlsx]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, no labels, table is '$(vXLSXSheet )');&lt;/P&gt;&lt;P&gt;next n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 15:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402492#M817481</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-08-29T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple sheets from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402493#M817482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I am running the script I am getting the error &lt;/P&gt;&lt;P&gt;The following error occurred:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; color: #595959; font-family: 'Courier New'; font-size: 15px; background: rgba(255, 38, 38, 0.2);"&gt;CONNECTs other than LIB CONNECT are not available in this script mode.&lt;/P&gt;&lt;P&gt;Could you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ,&lt;/P&gt;&lt;P&gt;Indu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 13:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402493#M817482</guid>
      <dc:creator />
      <dc:date>2017-08-30T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to load multiple sheets from an excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402494#M817483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're going to need to set up a connection - see this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/LoadData/connect-data-sources.htm?_ga=2.127292431.329800257.1503991029-182005855.1502108373" title="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/LoadData/connect-data-sources.htm?_ga=2.127292431.329800257.1503991029-182005855.1502108373"&gt;http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/LoadData/connect-data-sources.htm?_ga=2.127292431.329800257.1503991029-182005855.1502108373&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-multiple-sheets-from-an-excel-file/m-p/1402494#M817483</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-08-30T15:37:18Z</dc:date>
    </item>
  </channel>
</rss>

