<?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: Get the worksheet names in an Excel Workbook in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825426#M1055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the script is still value but the connection strings are different in Qlik Sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below example, i first had to create an ODBC data source called 'Excel' which points to a fixed excel document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i created a connection in Sense and added that connection to the script followed by the other script commands. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this work ?&amp;nbsp; Its not dynamic and you can't pass an excel file name to it as a variable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71336_Capture.PNG.png" style="width: 620px; height: 378px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Nov 2014 02:03:29 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-11-15T02:03:29Z</dc:date>
    <item>
      <title>Get the worksheet names in an Excel Workbook</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825425#M1054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Qlik View, I can use ODBC to get a list of worksheet names inside an Excel workbook using this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ODBC CONNECT32 TO [Excel Files; DBQ=$(vFileName)];&lt;BR /&gt; WorksheetNames: &lt;BR /&gt; SQLtables; &lt;BR /&gt; DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do the same in Qlik Sense but it does not work, how can I get a list of worksheet names in Qlik Sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 13:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825425#M1054</guid>
      <dc:creator />
      <dc:date>2014-11-13T13:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get the worksheet names in an Excel Workbook</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825426#M1055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the script is still value but the connection strings are different in Qlik Sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below example, i first had to create an ODBC data source called 'Excel' which points to a fixed excel document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i created a connection in Sense and added that connection to the script followed by the other script commands. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this work ?&amp;nbsp; Its not dynamic and you can't pass an excel file name to it as a variable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71336_Capture.PNG.png" style="width: 620px; height: 378px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 02:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825426#M1055</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-15T02:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get the worksheet names in an Excel Workbook</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825427#M1056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan.&amp;nbsp; Hardcoding of the Excel DSN is not an option for me.&amp;nbsp; I need to loop through the Excel files in a directory and then import selected worksheets in the workbook.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 20:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Get-the-worksheet-names-in-an-Excel-Workbook/m-p/825427#M1056</guid>
      <dc:creator />
      <dc:date>2014-11-16T20:57:25Z</dc:date>
    </item>
  </channel>
</rss>

