<?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: Qlikview Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1962391#M1220187</link>
    <description>&lt;P&gt;Hi Marcus - Thanks for the reply. The problem isn't with sending the email, the problem is with scheduling the batch file to run using Task Scheduler. If I run the batch file from the desktop it runs fine, but if I create a task in Task Scheduler it doesn't run at all. Not sure why.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 15:42:55 GMT</pubDate>
    <dc:creator>Gator</dc:creator>
    <dc:date>2022-07-29T15:42:55Z</dc:date>
    <item>
      <title>Qlikview Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1959731#M1220054</link>
      <description>&lt;P&gt;I have a user who wants a straight table in the QVW to be exported to Excel and sent to him in email every morning at 6:00. I wrote a macro to create and save the spreadsheet which works fine and I wrote a trIgger using OnOpen which will run the macro. I know the macro won't work on the server (I've tried), so I'm thinking about writing a batch file with a command line to open the QVW in Desktop. That should trigger the macro. One problem - I can open open QV on the command line but after the macro runs how can I close QV?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 22:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1959731#M1220054</guid>
      <dc:creator>Gator</dc:creator>
      <dc:date>2022-07-24T22:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1961800#M1220151</link>
      <description>&lt;P&gt;So I wrote the following batch file to do the above:&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/93998"&gt;@Echo&lt;/a&gt; off&lt;BR /&gt;copy "F:\QV Work\abc.qvw" "F:\QV Work\Test Projects\abc_Reports.qvw"&lt;BR /&gt;"C:\Program Files\Qlikview\qv.exe" "F:\QV Work\Test Projects\abc_Reports.qvw"&lt;BR /&gt;call Powershell "F:\bin\SendEmail.ps1"&lt;BR /&gt;exit&lt;/P&gt;
&lt;P&gt;The abc.qvw has already been reloaded before this in the QMC so I don't want the /r switch when I open abc_reports.qvw. I have an OnOpen trigger which runs the macro to create the Excel file and the Powershell script mails it. All of these pieces work individually but the problem is that when qv.exe opens it seems to run in the background (I can see it in Task Manager) as it doesn't open on the screen and the OnOpen trigger doesn't fire. The Powershell script also doen't appear to fire.&amp;nbsp;If I get it to work I want to put the batch file in Task Scheduler. What am I doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 13:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1961800#M1220151</guid>
      <dc:creator>Gator</dc:creator>
      <dc:date>2022-07-28T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1961861#M1220157</link>
      <description>&lt;P&gt;This should be helpful:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Sending-mails-macro-vbs/td-p/390730" target="_blank"&gt;Solved: Sending mails macro vbs - Qlik Community - 390730&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 15:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1961861#M1220157</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-07-28T15:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1962391#M1220187</link>
      <description>&lt;P&gt;Hi Marcus - Thanks for the reply. The problem isn't with sending the email, the problem is with scheduling the batch file to run using Task Scheduler. If I run the batch file from the desktop it runs fine, but if I create a task in Task Scheduler it doesn't run at all. Not sure why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 15:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1962391#M1220187</guid>
      <dc:creator>Gator</dc:creator>
      <dc:date>2022-07-29T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1962747#M1220218</link>
      <description>&lt;P&gt;There are a lot of possibilities what could go wrong - most often it are missing/wrong access rights, licence-topics and user-settings. Probably you use the services-account from the QlikView services and this user must have the appropriate access rights to the target and a valid QlikView desktop licence and also an Excel licence and in both the appropriate user-settings.&lt;/P&gt;
&lt;P&gt;Further the task itself must run with these credentials and with the highest priorities. Depending on the environment it could become quite tricky to get it to work.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 08:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Macro/m-p/1962747#M1220218</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-08-01T08:21:49Z</dc:date>
    </item>
  </channel>
</rss>

