<?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 automatically upload an excel file's SHEETS? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806830#M284838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at this thread&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/154050"&gt;http://community.qlik.com/thread/154050&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the same technique to connect to read through the sheet names and then use a wildmatch on BP_2015 instead of match to get the sheets you require&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 09:06:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-16T09:06:51Z</dc:date>
    <item>
      <title>How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806829#M284837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an excel file which is fine and i can read it. However I want to be able to make it read the other sheets of the same file. Altough I have found some similar disscussion in here. Mine is slightly different. My some of the examples sheets' names are below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BP_2015_&lt;/STRONG&gt;Yılmaztekin&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BP_2015_&lt;/STRONG&gt;Yılmaztekin tekirdağ&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BP_2015_&lt;/STRONG&gt;Mercan&lt;/P&gt;&lt;P&gt;They all start with &lt;STRONG&gt;BP_2015_ &lt;/STRONG&gt;and then it changes to the names.&lt;/P&gt;&lt;P&gt;Is there a way how to make it read automatically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806829#M284837</guid>
      <dc:creator />
      <dc:date>2015-03-16T08:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806830#M284838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kezban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at this thread&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/154050"&gt;http://community.qlik.com/thread/154050&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the same technique to connect to read through the sheet names and then use a wildmatch on BP_2015 instead of match to get the sheets you require&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 09:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806830#M284838</guid>
      <dc:creator />
      <dc:date>2015-03-16T09:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806831#M284839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find an example here: &lt;A href="https://community.qlik.com/thread/154886"&gt;Loading Multiple Excel Files and Multiple Excel sheets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may want to include a check for the sheetname to skip any that don't start with BP_2015:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14264973592993666" jivemacro_uid="_14264973592993666"&gt;
&lt;P&gt;SUB LoadAllExcelSheets(vFile)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ODBC CONNECT TO [Excel Files;DBQ=$(vFile)];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tables:&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;Let vSheetCount = NoOfRows('tables');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR i = 0 to $(vSheetCount) -1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vSheetName = replace(purgeChar(purgeChar(peek('TABLE_NAME', $(i), 'tables'), chr(39)), chr(36)),'#','.');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF wildmatch('$(vSheetName)', 'BP_2105*') THEN&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [$(vSheetName)]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD *, '$(vSheetName)' as Sheet, '$(vFile)' as FileName&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM [$(vFile)] (ooxml, embedded labels, table is [$(vSheetName)]);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE tables;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;END SUB&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 09:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806831#M284839</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-16T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806832#M284840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to figure out the code. Can I use it as it is above exactly ? Then can it give the result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806832#M284840</guid>
      <dc:creator />
      <dc:date>2015-03-16T10:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806833#M284841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you can't use it as it is. See the example in the discussion I linked to. You can see in that example how the subroutine is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806833#M284841</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-16T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to automatically upload an excel file's SHEETS?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806834#M284842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still see like the codes above sounds ok for it. I couldnt see any other need in the link. Am i wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 11:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-automatically-upload-an-excel-file-s-SHEETS/m-p/806834#M284842</guid>
      <dc:creator />
      <dc:date>2015-03-16T11:25:25Z</dc:date>
    </item>
  </channel>
</rss>

