<?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 take Excel sheets names ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246195#M711772</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;When I use this script I get a Class Not Registered error message when Qlikview tries to connect to the Excel file. Any suggestions as to what might be causing that? I have run a scan to see if there are any corrupt programmes / files and it comes back saying no so it is not that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2014 14:07:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-14T14:07:48Z</dc:date>
    <item>
      <title>How to take Excel sheets names ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246193#M711770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how to take the names of excel sheets - is there any function .... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246193#M711770</guid>
      <dc:creator>ivan_will</dc:creator>
      <dc:date>2011-05-27T08:32:02Z</dc:date>
    </item>
    <item>
      <title>How to take Excel sheets names ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246194#M711771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Have a look at the following - it loops through all .xls in a folder and then sets a variable to the current sheetname, which should give you some ideas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vPath = 'C:\pathtodata\';&lt;/P&gt;&lt;P&gt;FOR each vFile in filelist ('$(vPath)'&amp;amp;'*.xls')&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=Microsoft.Jet.OLEDB.4.0;Data Source='$(vFile)';Extended Properties="Excel 8.0;"];&lt;/P&gt;&lt;P&gt;[Excel Sheets]:&lt;BR /&gt;// Get description of the tables in the ODBC datasource - with Excel each sheet is a table&lt;BR /&gt;SQLtables;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;// TABLE_NAME contains the sheet name - loop through this set&lt;BR /&gt;FOR i = 0 to NoOfRows('Excel Sheets')-1&lt;/P&gt;&lt;P&gt; // TABLE_NAMEs that contain spaces will be enclosed in single quotes. The purgeChar function will remove any quotes.&lt;BR /&gt; LET vSheet = purgeChar(peek('TABLE_NAME', i, 'Excel Sheets'), chr(39));&lt;/P&gt;&lt;P&gt;NEXT ;&amp;nbsp; // (sheet)&lt;/P&gt;&lt;P&gt;DROP TABLE [Excel Sheets];&lt;/P&gt;&lt;P&gt;NEXT vFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246194#M711771</guid>
      <dc:creator />
      <dc:date>2011-05-27T08:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to take Excel sheets names ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246195#M711772</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;When I use this script I get a Class Not Registered error message when Qlikview tries to connect to the Excel file. Any suggestions as to what might be causing that? I have run a scan to see if there are any corrupt programmes / files and it comes back saying no so it is not that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 14:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-Excel-sheets-names/m-p/246195#M711772</guid>
      <dc:creator />
      <dc:date>2014-10-14T14:07:48Z</dc:date>
    </item>
  </channel>
</rss>

