<?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: Running macro function in the loading script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-macro-function-in-the-loading-script/m-p/1328345#M616723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible on this way. You will need to do it from outside of a load, see also: &lt;A href="https://community.qlik.com/thread/266541"&gt;Macro running through  load script&lt;/A&gt; or you could use a store-statement to an existing table to get the txt-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2017 13:02:46 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-07-05T13:02:46Z</dc:date>
    <item>
      <title>Running macro function in the loading script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-macro-function-in-the-loading-script/m-p/1328344#M616722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;I have got the following problem: I want to export tables from the loading script and I am using macro function in the module:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;function Export()&lt;/P&gt;
&lt;P&gt;set qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;
&lt;P&gt;set doc = qv.OpenDoc("C:\Users\username\Desktop\ARP.qvw")&lt;/P&gt;
&lt;P&gt;set chart = doc.GetSheetObject("CH09")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.Export "D:\Data.txt", ", "&lt;/P&gt;
&lt;P&gt;'doc.CloseDoc&lt;/P&gt;
&lt;P&gt;'qv.Quit&lt;/P&gt;
&lt;P&gt;end function &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I cannot call it from the loading script.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Any advice is welcome.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 07:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-macro-function-in-the-loading-script/m-p/1328344#M616722</guid>
      <dc:creator>dradoikov</dc:creator>
      <dc:date>2017-07-05T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running macro function in the loading script</title>
      <link>https://community.qlik.com/t5/QlikView/Running-macro-function-in-the-loading-script/m-p/1328345#M616723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible on this way. You will need to do it from outside of a load, see also: &lt;A href="https://community.qlik.com/thread/266541"&gt;Macro running through  load script&lt;/A&gt; or you could use a store-statement to an existing table to get the txt-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-macro-function-in-the-loading-script/m-p/1328345#M616723</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-07-05T13:02:46Z</dc:date>
    </item>
  </channel>
</rss>

