<?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 command and QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706431#M1314053</link>
    <description>&lt;P&gt;This is already correctly set up.&lt;/P&gt;&lt;P&gt;The point is that the task gets completed successfully but it is not triggering the macro.&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 09:43:04 GMT</pubDate>
    <dc:creator>Alex</dc:creator>
    <dc:date>2020-05-29T09:43:04Z</dc:date>
    <item>
      <title>execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706415#M1314051</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to execute a .vbs file which is running an embedded macro in Excel.&lt;BR /&gt;It works from my local pc but when it is deployed to QMC, gets completed successfully but doesn't execute the macro.&lt;BR /&gt;All security checks are enabled in settings.ini and .qvw so, don't know what's the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My .qvw script:&lt;/P&gt;&lt;P&gt;EXECUTE cscript.exe "..\..\Folder_1\Folder_2\Script.vbs";&lt;BR /&gt;&lt;BR /&gt;Script.vbs:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;Dim xlApp, xlBook, scriptdir&lt;/P&gt;&lt;P&gt;scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)&lt;BR /&gt;Set xlApp = CreateObject("excel.application")&lt;/P&gt;&lt;P&gt;Set xlBook = xlApp.Workbooks.Open(scriptdir &amp;amp; "\Macro_file.xlsm",0, False)&lt;BR /&gt;xlApp.Run "RefreshAll"&lt;BR /&gt;xlApp.Quit&lt;/P&gt;&lt;P&gt;Set xlBook = Nothing&lt;BR /&gt;Set xlApp = Nothing&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706415#M1314051</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706420#M1314052</link>
      <description>&lt;P&gt;recheck both of these parameters&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Security Tab in User preferences in QVW (STRG+ALT+U)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhadrakas_0-1590743277895.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34598i4AAA0105708907B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhadrakas_0-1590743277895.png" alt="zhadrakas_0-1590743277895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AllowExecuteCommand=1 in Settings.ini&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Path:&amp;nbsp;C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch&lt;/P&gt;&lt;P&gt;Under&amp;nbsp;[Settings 7] add following line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AllowExecuteCommand=1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after this you need to restart the qlik Services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 09:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706420#M1314052</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2020-05-29T09:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706431#M1314053</link>
      <description>&lt;P&gt;This is already correctly set up.&lt;/P&gt;&lt;P&gt;The point is that the task gets completed successfully but it is not triggering the macro.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 09:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706431#M1314053</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2020-05-29T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706432#M1314054</link>
      <description>&lt;P&gt;alright.&lt;/P&gt;&lt;P&gt;did you test that locally with the user that is assigned to the qlik Service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 09:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706432#M1314054</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2020-05-29T09:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706437#M1314055</link>
      <description>&lt;P&gt;see here&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;how to allow execute on server&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 09:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706437#M1314055</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-05-29T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706450#M1314056</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I already checked but it is not working.&lt;/P&gt;&lt;P&gt;Same happens with .bat files, which do work when I execute them manually but not from the QMC.&lt;BR /&gt;&lt;BR /&gt;I've tried almost everything and don't know what's the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks both!&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 10:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706450#M1314056</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2020-05-29T10:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706491#M1314057</link>
      <description>&lt;P&gt;There are a lot of possibilities which may cause the failure. To exclude most of them unless the QMC related ones&amp;nbsp; login to the server with the QV services-user and run there the reload with the desktop client. The usual missing access rights, invalid paths, missing Excel configurations/licences and similar should be popup more or less obvious.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 12:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706491#M1314057</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-05-29T12:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706532#M1314058</link>
      <description>&lt;P&gt;HI Zhdrakas/Marcus,&lt;/P&gt;&lt;P&gt;I've tried&amp;nbsp;login with the QV services-user and run in the server the .qvw with the desktop client.&lt;BR /&gt;I've attached the error (ActiveX component can't create object 'excel,application')&lt;/P&gt;&lt;P&gt;The .qvw code which contains the execute statement is completed successfully when I execute it with my user either in local or the server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706532#M1314058</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2020-05-29T13:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706580#M1314059</link>
      <description>&lt;P&gt;This error could mean that there is no Excel installed, Excel isn't licenced, Excel settings didn't allow the use of ActiveX or ActiveX is globally denied (it's a very powerful feature and therefore relevant for security and often restricted) or something similar.&lt;/P&gt;&lt;P&gt;Just start Excel on the server directly and if everything worked you may execute some simple Excel macro with an ActiveX statement like CreateObject.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 14:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1706580#M1314059</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-05-29T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: execute command and QMC</title>
      <link>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1707396#M1314060</link>
      <description>&lt;P&gt;Indeed! Excel was not installed in the server.&lt;BR /&gt;&lt;BR /&gt;I will talk to the team and try after installing the software. Will let you know.&lt;BR /&gt;&lt;BR /&gt;Thanks for your support!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 09:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/execute-command-and-QMC/m-p/1707396#M1314060</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2020-06-02T09:44:34Z</dc:date>
    </item>
  </channel>
</rss>

