<?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 string to connect excel in script side in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658488#M240304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Click Table Files in Edit script and select your excel file. Then it will open below File Wizard. Here in Tables drop down, select your sheet name and click finish&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Select_sheets_from_excel.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/68269_Select_sheets_from_excel.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD col1,col2 ...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Your_File_name.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is your_sheet_name);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Oct 2014 07:34:04 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-10-04T07:34:04Z</dc:date>
    <item>
      <title>connection string to connect excel in script side</title>
      <link>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658487#M240303</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;I want to write a connection string to connect excel in script side so how to write connection string in qlikview and in that excel sheet I have multiple sheet so for that i want to connect excel with connection string.&lt;A href="https://community.qlik.com/qlik-users/2001"&gt;QlikTech Admin&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 07:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658487#M240303</guid>
      <dc:creator />
      <dc:date>2014-10-04T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: connection string to connect excel in script side</title>
      <link>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658488#M240304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Click Table Files in Edit script and select your excel file. Then it will open below File Wizard. Here in Tables drop down, select your sheet name and click finish&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Select_sheets_from_excel.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/68269_Select_sheets_from_excel.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD col1,col2 ...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Your_File_name.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, no labels, table is your_sheet_name);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 07:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658488#M240304</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-04T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: connection string to connect excel in script side</title>
      <link>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658489#M240305</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 can use the below sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vTargetPath = 'C:\Excel\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;for each vFile in filelist('$(vTargetPath)*.xlsx')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(vFile)];&lt;/P&gt;&lt;P&gt;sheets:&lt;/P&gt;&lt;P&gt;SQLTABLES;&lt;/P&gt;&lt;P&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to NoOfRows('sheets')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vSheet = PurgeChar(Peek('TABLE_NAME', $(i), 'sheets'), '$');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; ExcelDoc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vFile)&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is [$(vSheet)]);&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;DROP Table sheets;&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;If you have 1 excel file only, just provide the full document path to the vTargetPath and remove the outer for...next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 08:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/connection-string-to-connect-excel-in-script-side/m-p/658489#M240305</guid>
      <dc:creator />
      <dc:date>2014-10-04T08:24:15Z</dc:date>
    </item>
  </channel>
</rss>

