<?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: Macro disabled in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936228#M977792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QMC - Macro.png" class="jive-image image-1" src="/legacyfs/online/97403_QMC - Macro.png" style="height: 346px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 03:19:57 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-08-31T03:19:57Z</dc:date>
    <item>
      <title>Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936225#M977789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;I am getting a message &lt;EM&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 16px;"&gt;&lt;EM&gt;&lt;STRONG&gt;heck if the macro has been disabled.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;I want to enable the macros used in my qvw application. How to check. Please help to give steps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936225#M977789</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936226#M977790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Where you are getting this error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press Ctrl + M -&amp;gt; and set below options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requested Module Security -&amp;gt;&amp;nbsp; System Access&lt;/P&gt;&lt;P&gt;Current Local Security -&amp;gt; Allow System Access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936226#M977790</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T03:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936227#M977791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also check this in Qlikview server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QMC -&amp;gt; System -&amp;gt; Setup -&amp;gt; Click on Qlikview Server -&amp;gt; Security -&amp;gt; Select Allow Macro Execution on Server &amp;amp; Allow unsafe macro execution on server options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936227#M977791</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T03:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936228#M977792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QMC - Macro.png" class="jive-image image-1" src="/legacyfs/online/97403_QMC - Macro.png" style="height: 346px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936228#M977792</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T03:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936229#M977793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jagan,&lt;/P&gt;&lt;P&gt;Thank you for the answers.&lt;/P&gt;&lt;P&gt;I am using vbscript in macro&lt;SPAN style="color: #0000ff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333330154419px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;Failing at 13 line....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333330154419px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;TestReport failed in sending.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 13.3333330154419px;"&gt;d&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;VBScript:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14409923061466785" jivemacro_uid="_14409923061466785"&gt;
&lt;P&gt;dim test&lt;/P&gt;
&lt;P&gt;dim subject2&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;subject2 = "TestReport"&lt;/P&gt;
&lt;P&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;
&lt;P&gt;set objFile = objFSO.GetFile("C:\QlikviewReports\TestReport.xlsx")&lt;/P&gt;
&lt;P&gt;test = "&amp;nbsp; - Last Updated on: " &amp;amp; objFile.DateLastModified&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;if objFile.DateLastModified &amp;gt; cdate((date()) &amp;amp;" 12:00:00 AM")&amp;nbsp; then ' (CDate(now)-1)&amp;nbsp; then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; call SendMail2(test, subject2)&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; call SendMailToAdmin("&lt;SPAN style="font-size: 13.3333330154419px;"&gt;TestReport failed in sending&lt;/SPAN&gt;")&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936229#M977793</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-31T03:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936230#M977794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have SendMailToAdmin() in your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936230#M977794</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T03:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936231#M977795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14409931900725005 jive_text_macro" jivemacro_uid="_14409931900725005"&gt;
&lt;P&gt;Here is the part of the script.&lt;/P&gt;
&lt;P&gt;Function SendMail2(Result, Subject)&lt;/P&gt;
&lt;P&gt;EmailSubject = subject&lt;/P&gt;
&lt;P&gt;Const EmailFrom = "Testing"&lt;/P&gt;
&lt;P&gt;Const EmailFromName = "Admin"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Const EmailTo = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:qlikviewtest@gmail.com"&gt;qlikviewtest@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Dim StrHTML&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 03:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936231#M977795</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-31T03:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936232#M977796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but you also need a function SendMailToAdmin().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 05:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936232#M977796</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-31T05:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936233#M977797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;SendMailToAdmin()&amp;nbsp; macro in your QVW file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 05:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936233#M977797</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T05:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936234#M977798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan and Jagan,&lt;/P&gt;&lt;P&gt;SendMailToAdmin function is there. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 06:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936234#M977798</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-31T06:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936235#M977799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The If() is returning the false condition, because the file is not updated today, can you open the file and save it and run the macro again.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-sql" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin: 0 0 1px 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;if objFile.DateLastModified &amp;gt; cdate((&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;()) &amp;amp;&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;" 12:00:00 AM"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; ' (CDate(now)-1)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; call SendMail2(test, subject2)&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; call SendMailToAdmin(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;"TestReport failed in sending"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; if&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 06:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936235#M977799</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-31T06:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Macro disabled</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936236#M977800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jagan,&lt;/P&gt;&lt;P&gt;Thank you for the info. I will test and let you know the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 06:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-disabled/m-p/936236#M977800</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-31T06:24:24Z</dc:date>
    </item>
  </channel>
</rss>

