<?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 Kill &amp;quot;Excel.exe&amp;quot; Process by Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275322#M870992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible try to terminate this process before (after excel finished the task to which it was created). If you really need to go further with this approach take a look here: &lt;A href="https://community.qlik.com/message/863315"&gt;Re: How to create kill QV task&lt;/A&gt; which you could adapt from qlik to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 14:50:09 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-11-18T14:50:09Z</dc:date>
    <item>
      <title>How To Kill "Excel.exe" Process by Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275321#M870991</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 kill "EXCEL.EXE" Process by Macro.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="144281" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144281_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pelase share VB Script (.VBS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nihhal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275321#M870991</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How To Kill "Excel.exe" Process by Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275322#M870992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible try to terminate this process before (after excel finished the task to which it was created). If you really need to go further with this approach take a look here: &lt;A href="https://community.qlik.com/message/863315"&gt;Re: How to create kill QV task&lt;/A&gt; which you could adapt from qlik to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 14:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275322#M870992</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-18T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How To Kill "Excel.exe" Process by Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275323#M870993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should terminate the EXCEL.EXE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14794819475847742 jive_text_macro" jivemacro_uid="_14794819475847742" modifiedtitle="true"&gt;
&lt;P&gt;Sub TerminateProcess&lt;/P&gt;
&lt;P&gt;Dim Process &lt;/P&gt;
&lt;P&gt;For Each Process In GetObject("winmgmts:").ExecQuery("Select Name from Win32_Process Where Name = 'EXCEL.EXE'")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Process.Terminate&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 15:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275323#M870993</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-11-18T15:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How To Kill "Excel.exe" Process by Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275324#M870994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'1) User Define Function in VBS&lt;/P&gt;&lt;P&gt;Sub TerminateProcess&amp;nbsp; &lt;/P&gt;&lt;P&gt;Dim Process&amp;nbsp; &lt;/P&gt;&lt;P&gt;For Each Process In GetObject("winmgmts:").ExecQuery("Select Name from Win32_Process Where Name = 'EXCEL.EXE'")&amp;nbsp; &lt;/P&gt;&lt;P&gt;Process.Terminate&amp;nbsp; &lt;/P&gt;&lt;P&gt;Next&amp;nbsp; &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'2) Call when yoiu required for end process &lt;/P&gt;&lt;P&gt;TerminateProcess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : it will lost all un saved data&amp;nbsp; &lt;/P&gt;&lt;TABLE&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 07:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Kill-quot-Excel-exe-quot-Process-by-Macro/m-p/1275324#M870994</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2016-11-21T07:52:59Z</dc:date>
    </item>
  </channel>
</rss>

