<?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 Run Excel macro via QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133941#M372478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Could anyone please tell me "Is it possible to run macro in excel via QMC".&lt;/P&gt;&lt;P&gt;We have one excel and it contains several macros, right we have running the macro manually when open the excel file.&lt;/P&gt;&lt;P&gt;To automate this process we had thought like create qmc task to run the Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If quick help will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 12:01:40 GMT</pubDate>
    <dc:creator>anil_kumar_bt</dc:creator>
    <dc:date>2016-05-24T12:01:40Z</dc:date>
    <item>
      <title>Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133941#M372478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Could anyone please tell me "Is it possible to run macro in excel via QMC".&lt;/P&gt;&lt;P&gt;We have one excel and it contains several macros, right we have running the macro manually when open the excel file.&lt;/P&gt;&lt;P&gt;To automate this process we had thought like create qmc task to run the Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If quick help will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133941#M372478</guid>
      <dc:creator>anil_kumar_bt</dc:creator>
      <dc:date>2016-05-24T12:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133942#M372479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the execute-statement to trigger external programs, for example something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute "C:\Program Files (x86)\Microsoft Office\OFFICE11\EXCEL.EXE" "D:\YourFile.xls"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to adjust the path to your current excel.exe. Noticeable is that these excel will be run like a background-service - it meant it won't be visible - maybe it could be changed by the excel-macro which needs to run with an OnOpen-trigger in this case. Therefore it could be helpful to include such things like a run-parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility would be to use a dertour and start a windows tasks which then started your excel which I for example use if I need that the tasks runs with a different user:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE schtasks.exe /Run /TN "QlikView Tasks\SynchronizeDataABC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 13:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133942#M372479</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-24T13:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133943#M372480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a task "Start" in task scheduer but Execute command is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE "%windir%\system32\taskschd.msc /s";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running windows 2008 Server (task scheduer like in Vista). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is from running vbs script from Publisher. Qlikview verion: 11. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All solutions in forum didn't fix my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help for help,&lt;/P&gt;&lt;P&gt;Jacek Antek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 09:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133943#M372480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T09:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133944#M372481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A statement like the following runs for me with Server 2008:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE schtasks.exe /Run /TN "QlikView Tasks\SynchronizeDataABC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it with manually triggering them in the qmc - if it then worked and not per qmc-schedule it meant that the cause is the login-user respectively a run without a user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 10:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133944#M372481</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-24T10:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133945#M372482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE schtasks.exe /Run /TN "Start"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesnt work in QV application in script code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Task Scheduler i created task Start:&lt;IMG alt="start.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141685_start.png" style="height: 102px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task "Start" is running vbs script which is opening Excel with macro and closing it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Task Scheduer Task Start is working fine. &lt;/P&gt;&lt;P&gt;But from QV script it doesn't work at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 12:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133945#M372482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-24T12:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133946#M372483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How had you tried it - reloading the qvw within the desktop client or manually triggering the task within the qmc or per scheduled qmc-task. If not yet done - try it in the above mentioned order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One reason could be that you hadn't enabled the execution of the EXECUTION statement. There is a setting within the user-properties within the tab security and also within the settings.ini from the server (it's different by older and youger releases): &lt;A href="http://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/" title="http://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/"&gt;Authorizing the Script EXECUTE Statement | Qlikview Cookbook&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133946#M372483</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-24T18:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133947#M372484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all matters of security things from post you have been provided I did and is still don't work.&lt;/P&gt;&lt;P&gt;I am triggering application manually from QV script editor and it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not working from QMC if it is not working within Script loading...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up task scheduler without QlikView at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jacek Antek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 06:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133947#M372484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-25T06:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133948#M372485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are running this from the desktop client and it did't work it meant that there are certain settings on the windows-task which prevent the external execution from the task - or meant it didn't work the task will be executed but the export failed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 06:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133948#M372485</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-25T06:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133949#M372486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Marcos for your support and help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it was something wrong with my task scheduler - now it is working like a charm!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Jacek Antek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/1133949#M372486</guid>
      <dc:creator />
      <dc:date>2016-10-25T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110323#M1224476</link>
      <description>&lt;P&gt;I facing similar issue, which also calling a xlsm in QVW execute script. The testing is fine on QV desktop but when move to QMC reload, the qvw finish reload but the xlsm is not actuall running.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any workaround or solution?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110323#M1224476</guid>
      <dc:creator>mingsum214</dc:creator>
      <dc:date>2023-08-28T10:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110380#M1224477</link>
      <description>&lt;P&gt;The QMC user may not have the proper access rights and/or licences/configurations to perform the task. To exclude some of the potential issues do it again with the desktop client on the server-machine with the services users.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110380#M1224477</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-08-28T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110604#M1224480</link>
      <description>&lt;P&gt;Tried the service user approach, same scenario - QV desktop work and QV server reload, for QV server we found EXCEL.exe stuck in process and unable to close.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 01:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110604#M1224480</guid>
      <dc:creator>mingsum214</dc:creator>
      <dc:date>2023-08-29T01:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel macro via QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110659#M1224482</link>
      <description>&lt;P&gt;Very likely is there any popup within the Excel asking to login or for configurations like the default file-format or any other stuff which gets no respond and/or the execution of macros is restricted and/or linked content couldn't be resolved or ... a lot of possibilities. One way to exclude many of them would be to perform the entire Excel stuff manually - again on the server machine and with services user. Further within the Excel macro you should set the visibility and the responds of any kind of errors/messages to true to see what happens and where it may break.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 06:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-macro-via-QMC/m-p/2110659#M1224482</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-08-29T06:01:03Z</dc:date>
    </item>
  </channel>
</rss>

