<?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: need to load all the sheets in excel at time ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357307#M613878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your excel sheet doesn't tell me the names of the sheets you want to load data from. You say sheets will be of months. &lt;/P&gt;&lt;P&gt;'Jan17' or 'Jan 17' or ' January 2017' or '01-17' or ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Jul 2017 17:50:07 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2017-07-23T17:50:07Z</dc:date>
    <item>
      <title>need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357300#M613871</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 am having months data in the Excel Sheet.&lt;/P&gt;&lt;P&gt;Every month it will added one more Sheet With new month, need to be loaded in a Single load dynamically.&lt;/P&gt;&lt;P&gt;Please find the attached excel, Can any help me on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 16:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357300#M613871</guid>
      <dc:creator />
      <dc:date>2017-07-23T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357301#M613872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;When you say that there will be a new sheet every month do mean a new sheet (tab) will be added to this Excel file or will there be a new file for the month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is going to be a new file every month then it's very easy. If all the columns are identical for each month then put all the files into one folder. It's good practice to add the path to this folder to the script as a variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vxlsFolder = '&lt;EM&gt;insert path here&lt;/EM&gt; ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;LOAD OrderID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmployeeID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Margin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(&lt;SPAN style="font-size: 13.3333px;"&gt;vxlsFolder&lt;/SPAN&gt;)\*.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Orders$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;table is Orders$ &lt;/EM&gt;here means that the script will extract from a sheet called Orders like you have in the file you uploaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Save your files to your folder and create your script to read one of them. When it's working then edit the line &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;$(&lt;SPAN style="font-size: 13.3333px;"&gt;vxlsFolder&lt;/SPAN&gt;)\&lt;EM&gt;FilenameYouUseToTest&lt;/EM&gt;.xls;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;to&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vxlsFolder&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)\*.xls&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;replacing the filename with '*'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The script will then concatenate all the lines from the files into a single table &lt;EM&gt;Order&lt;/EM&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Good luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357301#M613872</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-23T17:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357302#M613873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;every month one extra sheet in the same excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357302#M613873</guid>
      <dc:creator />
      <dc:date>2017-07-23T17:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357303#M613874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen,&lt;/P&gt;&lt;P&gt;In that case I'll refer you to this: &lt;A href="https://community.qlik.com/docs/DOC-4452"&gt;Load Multiple excel sheets using For loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S there is an update only once a month the simpler thing may be to make separate files from each sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357303#M613874</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-23T17:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357304#M613875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried , Iam getting error, Kindly check once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vStartSheetNumber = 1;&lt;/P&gt;&lt;P&gt;LET vEndSheetNumber = 50;&lt;/P&gt;&lt;P&gt;LET vExcelFileName = 'Data';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Generate Empty table&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '' AS Sno,&lt;/P&gt;&lt;P&gt;&amp;nbsp; '' AS Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; '' as [Sales Value]&lt;/P&gt;&lt;P&gt;AutoGenerate(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FOR index = vStartSheetNumber TO vEndSheetNumber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(Data)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [$(vExcelFileName).xlsx]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is [Page $(index)]);&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357304#M613875</guid>
      <dc:creator />
      <dc:date>2017-07-23T17:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357305#M613876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen,&lt;/P&gt;&lt;P&gt;What are the names of your sheets? This script will only work if your sheets are 'Page 1', 'Page 2', ...etc.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357305#M613876</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-23T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357306#M613877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my sheet names will be of months, plz check in the excel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357306#M613877</guid>
      <dc:creator />
      <dc:date>2017-07-23T17:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357307#M613878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your excel sheet doesn't tell me the names of the sheets you want to load data from. You say sheets will be of months. &lt;/P&gt;&lt;P&gt;'Jan17' or 'Jan 17' or ' January 2017' or '01-17' or ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 17:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357307#M613878</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-23T17:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357308#M613879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached the Data excel above , plz check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 18:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357308#M613879</guid>
      <dc:creator />
      <dc:date>2017-07-23T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357309#M613880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like this? :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aufnahme_2017_07_24_09_52_33_107.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171123_Aufnahme_2017_07_24_09_52_33_107.gif" style="height: 348px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 07:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357309#M613880</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-07-24T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357310#M613882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vXLSPath='PathToFileIncludingFilename.xlsx';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=$(vXLSPath)];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sheets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQLTABLES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to FieldValueCount('TABLE_NAME') -1&lt;/P&gt;&lt;P&gt;Let vTablename = Left(Peek('TABLE_NAME',$(i)),len(Peek('TABLE_NAME',$(i)))-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(vXLSPath)&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [$(vTablename)]);&lt;/P&gt;&lt;P&gt;Next i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Sheets;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 08:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357310#M613882</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-24T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: need to load all the sheets in excel at time ?</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357311#M613884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew Walker - I'm getting an error for the ODBC connection. I'm on Qlik Sense Enterprise....Do you know what it could be out of chance? ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following error occurred:&lt;/P&gt;&lt;P class="edc_error" style="padding: 0 10px; background: rgba(255, 38, 38, 0.2); color: #595959; font-family: 'Courier New'; font-size: 13px;"&gt;CONNECTs other than LIB CONNECT are not available in this script mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 15:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-load-all-the-sheets-in-excel-at-time/m-p/1357311#M613884</guid>
      <dc:creator>alextomlins</dc:creator>
      <dc:date>2018-10-26T15:25:05Z</dc:date>
    </item>
  </channel>
</rss>

