<?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 ScriptError: Cannot read BIFF file - Any ideas? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331473#M122137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;seems that one of your .xls isn't a "real" xls-File. Some programs export csv-files and call them .xls...&lt;/P&gt;&lt;P&gt;I remember having this kind of problem at my previous job. I solved it by writing a little EXCEL-Macro which opened all files in the path and saved them explicitly as .xls (Excel 97-2003).&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 10:36:15 GMT</pubDate>
    <dc:creator>ekech_infomotio</dc:creator>
    <dc:date>2012-05-02T10:36:15Z</dc:date>
    <item>
      <title>ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331472#M122136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I have written a script that loads specific fields from all .xls files within a folder:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Load&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;Date, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Budget, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Forecast, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Outlook This Week], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Outlook Last Week],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename() as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;NameFrom C:\testLOADALL\*.xls &lt;BR /&gt;(biff, embedded labels, header is 2 lines, table is Sheet1$); &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;This probem is, when I run this script I get a 'Cannot read BIFF file' error however the correct fields are still loaded from all .xls files in the folder: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;IMG alt="scripterror.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/13704_scripterror.bmp" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Script still loads fields after error: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;IMG alt="scripterror2.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13705_scripterror2.bmp" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Does anybody know why this error is happening yet I am getting the correct result? I modified my script to read .xlsx ooxml files and I didn't receive an error however all of the files I need to load are .xls. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Any help/thoughts appreciated,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 09:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331472#M122136</guid>
      <dc:creator />
      <dc:date>2012-05-02T09:45:07Z</dc:date>
    </item>
    <item>
      <title>ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331473#M122137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;seems that one of your .xls isn't a "real" xls-File. Some programs export csv-files and call them .xls...&lt;/P&gt;&lt;P&gt;I remember having this kind of problem at my previous job. I solved it by writing a little EXCEL-Macro which opened all files in the path and saved them explicitly as .xls (Excel 97-2003).&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 10:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331473#M122137</guid>
      <dc:creator>ekech_infomotio</dc:creator>
      <dc:date>2012-05-02T10:36:15Z</dc:date>
    </item>
    <item>
      <title>ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331474#M122138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I agry with Edgar. Coming to your next Q.. Script will load after error If you press OK. If you would have press Cancel It would have closed and would have asked you To Load with old data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Swapnil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 10:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331474#M122138</guid>
      <dc:creator />
      <dc:date>2012-05-02T10:57:30Z</dc:date>
    </item>
    <item>
      <title>ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331475#M122139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Edgar and Swapnil. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating an Excel .xls file and the script worked fine with it so it looks like I will have to create a macro like you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 11:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331475#M122139</guid>
      <dc:creator />
      <dc:date>2012-05-02T11:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331476#M122140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edgar,&lt;/P&gt;&lt;P&gt;Do you have any suggestions on how to write the Excel macro? Also, will the macro need to be written in each individaul excel file? I have multiple excel files within a folder&amp;nbsp; that I'll need to convert to 'real' .XLS files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Liz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 19:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331476#M122140</guid>
      <dc:creator />
      <dc:date>2013-09-30T19:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331477#M122141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you know your file is not an xls file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 12:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331477#M122141</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2013-10-22T12:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331478#M122142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you pls share the macro you used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 13:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331478#M122142</guid>
      <dc:creator />
      <dc:date>2014-11-20T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331479#M122143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/ekech_infomotion"&gt;ekech_infomotion&lt;/A&gt; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share the macro which actually converts to csv from xls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 18:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331479#M122143</guid>
      <dc:creator />
      <dc:date>2015-05-12T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331480#M122144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Edgar,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Do you have any suggestions on how to write the Excel macro? Can you please explain me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 19:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/331480#M122144</guid>
      <dc:creator />
      <dc:date>2015-05-12T19:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptError: Cannot read BIFF file - Any ideas?</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/1719321#M451755</link>
      <description>&lt;P&gt;I had this problem with trying to automate the refresh of a saved source XLS file.&lt;/P&gt;&lt;P&gt;I receive the file automatically by email. I was using PowerAutomate to save the email attachment to my QlikSense source directory in my file system via on-premises gateway. This worked, but the Qlik script would not read the file, with the BIFF error below. Opening the document and closing it without saving somehow fixed it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution was to instead have the PowerAutomate flow save the email attachment to a file on Sharepoint. Then next step, fetch the content from the newly created sharepoint file and save this to the File System. Somehow, the process gets the file format right when taking it from Sharepoint, but not from an email attachment.&lt;/P&gt;&lt;P&gt;Just FYI in case it helps anyone.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 15:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptError-Cannot-read-BIFF-file-Any-ideas/m-p/1719321#M451755</guid>
      <dc:creator>MikeH1983</dc:creator>
      <dc:date>2020-06-16T15:01:31Z</dc:date>
    </item>
  </channel>
</rss>

