<?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 ignore empty sheet in xls files? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799395#M661524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert. It works fine when sheets in source file are numerated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet1 Sheet2 .... SheetN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but doesn't work when sheet name without number at the end.&lt;/P&gt;&lt;P&gt;As example names of sheets in my files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;District&amp;nbsp;&amp;nbsp;&amp;nbsp; Comp&amp;nbsp;&amp;nbsp;&amp;nbsp; Status &lt;STRONG&gt; Sheet1(empty).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could advise me another way to disregard Sheet1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 21:12:35 GMT</pubDate>
    <dc:creator>vchuprina</dc:creator>
    <dc:date>2015-02-26T21:12:35Z</dc:date>
    <item>
      <title>How ignore empty sheet in xls files?</title>
      <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799391#M661516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Last sheet in files is empty, and when I run script i receive following error message:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"Cannot locate table in BIFF file."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Part of script:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FOR j=0 TO NoOfRows('tables')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET SheetName = if(right(peek('TABLE_NAME',j,'tables'),14)='FilterDatabase', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(purgechar(purgechar(purgechar(subfield(peek('TABLE_NAME',j,'tables'),'$_',1), chr(39)),'$'),'_'), 'FilterDatabase', 1),&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; purgechar(purgechar(purgechar(peek('TABLE_NAME',j,'tables'), chr(39)),'$'),'_') );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;next j;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799391#M661516</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-02-26T17:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How ignore empty sheet in xls files?</title>
      <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799392#M661517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the ErrorMode to 0 for the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ErrorMode = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// For Next loop&lt;/P&gt;&lt;P&gt;For ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;Next &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ErrorMode =1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 17:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799392#M661517</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-26T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How ignore empty sheet in xls files?</title>
      <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799393#M661518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I try this, script running without error message, but data from file doesn't load&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 18:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799393#M661518</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-02-26T18:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: How ignore empty sheet in xls files?</title>
      <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799394#M661521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works for me. See attached files. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 19:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799394#M661521</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-26T19:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How ignore empty sheet in xls files?</title>
      <link>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799395#M661524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert. It works fine when sheets in source file are numerated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sheet1 Sheet2 .... SheetN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but doesn't work when sheet name without number at the end.&lt;/P&gt;&lt;P&gt;As example names of sheets in my files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;District&amp;nbsp;&amp;nbsp;&amp;nbsp; Comp&amp;nbsp;&amp;nbsp;&amp;nbsp; Status &lt;STRONG&gt; Sheet1(empty).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could advise me another way to disregard Sheet1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 21:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-ignore-empty-sheet-in-xls-files/m-p/799395#M661524</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-02-26T21:12:35Z</dc:date>
    </item>
  </channel>
</rss>

