<?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: Execute Qlik Code stored in Excel in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586313#M42897</link>
    <description>&lt;P&gt;Assuming you are storing your load script in a single cell then you should be able to do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
"Script"
FROM [lib://Downloads/DataLoad.xlsx]
(ooxml, embedded labels, table is Sheet1);

Let vScript = Peek('Script');

$(vScript);

Drop Table Sheet1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If each line of the script is in a new Excel row you should be able to do something like (untested):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
Concat("Script"&amp;amp;chr(10))
FROM [lib://Downloads/DataLoad.xlsx]
(ooxml, embedded labels, table is Sheet1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 15:57:20 GMT</pubDate>
    <dc:creator>LReeve</dc:creator>
    <dc:date>2019-05-29T15:57:20Z</dc:date>
    <item>
      <title>Execute Qlik Code stored in Excel</title>
      <link>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586189#M42874</link>
      <description>&lt;DIV class="lia-page"&gt;&lt;CENTER&gt;&lt;DIV class="MinimumWidthContainer"&gt;&lt;DIV class="min-width-wrapper"&gt;&lt;DIV class="min-width"&gt;&lt;DIV class="lia-content"&gt;&lt;DIV class="lia-quilt lia-quilt-forum-topic-page lia-quilt-layout-two-column-main-side lia-top-quilt"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-17 lia-quilt-column-left lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-left"&gt;&lt;DIV class="lia-component-topic-message"&gt;&lt;DIV class="linear-message-list message-list"&gt;&lt;DIV class="lia-linear-display-message-view"&gt;&lt;DIV class="first-message"&gt;&lt;DIV class="lia-panel-message message-uid-1585976"&gt;&lt;DIV class="lia-message-view-wrapper lia-js-data-messageUid-1585976 lia-component-forums-widget-message-view-two"&gt;&lt;DIV class="MessageView lia-message-view-forum-message lia-message-view-display lia-row-standard-unread lia-thread-topic"&gt;&lt;DIV class="lia-quilt lia-quilt-forum-message lia-quilt-layout-two-column-forum-message"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-21 lia-quilt-column-right lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have my Qlik code store in Excel. Now i want to load from excel and execute the code in Qlik.&lt;/P&gt;&lt;P&gt;Note : I cant store the code in txt or qvs file and use include script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/CENTER&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 May 2019 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586189#M42874</guid>
      <dc:creator>rneelakantam</dc:creator>
      <dc:date>2019-05-29T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Qlik Code stored in Excel</title>
      <link>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586284#M42894</link>
      <description>&lt;P&gt;When you say "code", do you mean load script?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586284#M42894</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-29T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Qlik Code stored in Excel</title>
      <link>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586313#M42897</link>
      <description>&lt;P&gt;Assuming you are storing your load script in a single cell then you should be able to do this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
"Script"
FROM [lib://Downloads/DataLoad.xlsx]
(ooxml, embedded labels, table is Sheet1);

Let vScript = Peek('Script');

$(vScript);

Drop Table Sheet1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If each line of the script is in a new Excel row you should be able to do something like (untested):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD
Concat("Script"&amp;amp;chr(10))
FROM [lib://Downloads/DataLoad.xlsx]
(ooxml, embedded labels, table is Sheet1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Execute-Qlik-Code-stored-in-Excel/m-p/1586313#M42897</guid>
      <dc:creator>LReeve</dc:creator>
      <dc:date>2019-05-29T15:57:20Z</dc:date>
    </item>
  </channel>
</rss>

