<?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: Run Excel from QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007474#M342099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't Microsoft block the execution of Excel without a logged-in user in recent versions of MS-Office?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2015 13:54:11 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-10-06T13:54:11Z</dc:date>
    <item>
      <title>Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007471#M342096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to understand, why i can't run *.XLSM file with trigger ON_OPEN() to store TXT file into some folder from QlikView Management Console&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I can do that locally from QV Desktop&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To run Excel document, i'm using "EXECUTE cmd.exe /C start" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i'm using path like that: "\\x00-0000-Qlik\С:\Project\and so on..." it's doesn't help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve that problem !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;P.S.: Sources in attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007471#M342096</guid>
      <dc:creator>lylererger</dc:creator>
      <dc:date>2015-10-06T13:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007472#M342097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is technical possible to run Excel via QMC and you don't need to use a load script or a QVW to execute Excel.exe with parameters in batch. You can add a SYSTEM / SUPPORTING TASKS / EXTERNAL PROGRAM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-06 #4.png" class="jive-image image-1" src="/legacyfs/online/101119_2015-10-06 #4.png" style="height: 399px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command line can be&amp;nbsp;&amp;nbsp;&amp;nbsp; c:\Program Files\Office ...... \ EXCEL.EXE &amp;lt;some-parameters&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to test thoroughly and beware that a desktop program might not be extremely robust while running in batch. But it will work as long as you give the account that will execute the program the right permissions etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though it is technically possible it might not be advisable in a lot of production environements - that is up to you to decide if it is according to your company's policy....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007472#M342097</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-06T13:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007473#M342098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2015-10-06 #5.png" class="jive-image image-1" src="/legacyfs/online/101123_2015-10-06 #5.png" style="height: 646px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007473#M342098</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-06T13:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007474#M342099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't Microsoft block the execution of Excel without a logged-in user in recent versions of MS-Office?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 13:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007474#M342099</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-10-06T13:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007475#M342100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well when I successfully scheduled Excel 2013 in batch I had to manually create a speccial sub directory for the account that is running the batch. That constitutes a block....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007475#M342100</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-06T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007476#M342101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Create these two folders:&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;32Bit:&lt;/P&gt;&lt;PRE style="margin: 0 0 1em; padding: 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; color: #222222; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;C:\Windows\System32\config\systemprofile\Desktop &lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;64Bit:&lt;/P&gt;&lt;PRE style="margin: 0 0 1em; padding: 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; color: #222222; background-color: #eeeeee;"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;C:\Windows\SysWOW64\config\systemprofile\Desktop&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007476#M342101</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-06T14:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007477#M342102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's very interesting and worked - could you give some background to this? Is it only office which needs respectively had such "special" configurations - I have notice that various automatism from me needs a logged-in user and must be run visible but some of them seems to be a lot easier to solve (then my various workarounds).&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, 06 Oct 2015 14:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007477#M342102</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-06T14:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007478#M342103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petter thank's. But what if i'm using QV Server, Not Publisher and I need to use my qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results of VBA calulations in .xlsm file i'm storing into QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why that so hard to do that in QMC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vtmp1File = 'DEMO.xlsm';&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EXECUTE&amp;nbsp; cmd.exe /C start $(vtmp1File);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed safety settings in excel for the user to run a services:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101142_1.png" style="height: 157px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And still no any results. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007478#M342103</guid>
      <dc:creator>lylererger</dc:creator>
      <dc:date>2015-10-06T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007479#M342104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I haven't run into it with other software no...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be a measure to increase safety from Microsoft's side. So a user with administrative authority on the computer has to manually enable such use of Excel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007479#M342104</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-06T14:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Run Excel from QMC</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007480#M342105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try it with vbs instead of cmd - this one worked as example by me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QlikView:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SET vCSCRIPT = 'c:\windows\system32\cscript.exe';&lt;/P&gt;&lt;P&gt;EXECUTE $(vCSCRIPT) "D:\ReadAndWriteExcelSheets.vbs";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VBS:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;dim sourcepath, sourcefile, xls, ws, wsNames, fso, targetpath, targetfile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sourcepath = "D:\"&lt;/P&gt;&lt;P&gt;sourcefile = "TestExportPerAction.xls"&lt;/P&gt;&lt;P&gt;targetpath = "D:\"&lt;/P&gt;&lt;P&gt;targetfile = "SheetListing.txt"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set xls = createobject("Excel.Application")&lt;/P&gt;&lt;P&gt;xls.Workbooks.open sourcepath &amp;amp; sourcefile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wsNames = "WorkSheets" &amp;amp; chr(13) &amp;amp; chr(10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each ws in xls.worksheets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wsNames = wsNames &amp;amp; ws.Name &amp;amp; chr(13) &amp;amp; chr(10)&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set fso = createobject("scripting.fileSystemobject")&lt;/P&gt;&lt;P&gt;set targetfile = fso.opentextfile(targetpath &amp;amp; targetfile, 2, true)&lt;/P&gt;&lt;P&gt;targetfile.write wsNames&lt;/P&gt;&lt;P&gt;targetfile.close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xls.Application.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has further advantages - no query to mcaro-execution and an OnOpen-Trigger should be work, too. And if not you could here also put other routines - and overall you have more flexibility with vbs.&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, 06 Oct 2015 14:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Excel-from-QMC/m-p/1007480#M342105</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-06T14:57:58Z</dc:date>
    </item>
  </channel>
</rss>

