<?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: Connection for excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692511#M1262057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link u gave, in that it is asking to use ODBC CONNECT 32,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already using this. but this is not working when I reload the report through publisher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am asking is there any other way using which I can read the excel with multiple sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 06:20:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-22T06:20:13Z</dc:date>
    <item>
      <title>Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692507#M1262050</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;I have excel file with different sheets in the file. I need to read all the sheets in the excel, so I am using below script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=Microsoft.Jet.OLEDB.4.0;Data Source=..\QVD\TP_AZ.xls;Extended Properties="Excel 8.0;"];&lt;/P&gt;&lt;P&gt;SQLtables;&lt;/P&gt;&lt;P&gt;DISCONNECT;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Don't need ODBC connection anymore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;One of the fields loaded by SQLtables is "TABLE_NAME". This field will contain the sheet name.&lt;/P&gt;&lt;P&gt;We will loop through this set of sheet names.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfRows('tables')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET sheetName = purgeChar(peek('TABLE_NAME', i, 'tables'), chr(39));&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; LOAD *,&amp;nbsp; '$(sheetName)' as Sheet &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [..\QVD\TP.xls] (biff, embedded labels, table is [$(sheetName)]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above script works fine when I reload the report manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I schedule the report using qlikview publisher, I am getting below error:&lt;/P&gt;&lt;P&gt;CONNECT*Provider*&lt;/P&gt;&lt;P&gt;Error: ErrorSource: Microsoft OLE DB Service Components, ErrorMsg: Class not registered&lt;/P&gt;&lt;P&gt;General Script Error&lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to undestand why it is failing through publisher.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692507#M1262050</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692508#M1262051</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;There is no need for connection string while reading Excel files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below post.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4452"&gt;http://community.qlik.com/docs/DOC-4452&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 05:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692508#M1262051</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-18T05:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692509#M1262053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the link given, sheet name is having some pattern as 'Page 1, Page 2....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I dont have such pattern. I can have any sheet name. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 06:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692509#M1262053</guid>
      <dc:creator />
      <dc:date>2014-08-18T06:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692510#M1262055</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;Have&amp;nbsp; a look at this link too.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/223934#223934"&gt;http://community.qlik.com/message/223934#223934&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 06:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692510#M1262055</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-18T06:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692511#M1262057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link u gave, in that it is asking to use ODBC CONNECT 32,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already using this. but this is not working when I reload the report through publisher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am asking is there any other way using which I can read the excel with multiple sheets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692511#M1262057</guid>
      <dc:creator />
      <dc:date>2014-08-22T06:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692512#M1262059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For loading Excel sheet not required any connection string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the required valid path of the excel sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692512#M1262059</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-08-22T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692513#M1262061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help me writing the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know the no of sheets in my excel.. only I know, is that I will be having sheet names as years&lt;/P&gt;&lt;P&gt;e.g. 2013, 2014 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how to read it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692513#M1262061</guid>
      <dc:creator />
      <dc:date>2014-08-22T06:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connection for excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692514#M1262063</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;You are quite correct using a connection to get the sheet names. I think Rupali identified your problem.Is the provider 32 bit or 64? I suspect that when you load, you are using 32 bit desktop, but the server is running 64 bit and there is no 64 bit provider. Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CONNECT32 TO [Provider=Micr....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This will cause the server to use a 32 bit provider. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The other possibility is the the Excel provider is not installed at all. I suspect that by default it is only installed if Excel is installed on the server?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 06:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-for-excel-file/m-p/692514#M1262063</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-08-22T06:46:15Z</dc:date>
    </item>
  </channel>
</rss>

