<?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: Running Macro Inside Template? in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363925#M18072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/187194"&gt;djk&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working fine. Tks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Sub Workbook_Open()&lt;/P&gt;&lt;P&gt;Call sbHello&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;Sub sbHello()&lt;/P&gt;&lt;P&gt;Sheet2.Range("A1").Value = "hello"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2017 09:28:56 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2017-05-31T09:28:56Z</dc:date>
    <item>
      <title>Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363920#M18067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-weight: bold;"&gt;@&lt;/SPAN&gt;&lt;SPAN class="j-post-author" style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold; font-size: 0.9em;"&gt;&lt;STRONG style="font-style: inherit; font-size: 11.7px; font-family: inherit;"&gt;&lt;A class="jiveTT-hover-user jive-username-link" data-avatarid="10575" data-externalid="" data-presence="null" data-userid="187194" data-username="djk" href="https://qliktech.hosted.jivesoftware.com/people/djk" style="color: #3778c7; padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit;"&gt;Daniel Jenkins&lt;/A&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I've created an&amp;nbsp; Nprint Excel template with enabled macros and it should&amp;nbsp; AutoRun every time the file is opened. However, when NPrinting is creating a report using this template, the macro does not run. But when I go to edit my template inside the report editor, the macro in the background runs without any problems. please refer to the attachment. kindly advise me. THanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363920#M18067</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-05-31T07:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363921#M18068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't it the problem that in the publish task, or preview a .xlsx is used and not a xlsm file?&lt;/P&gt;&lt;P&gt;Only a xlsm can handle marco's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363921#M18068</guid>
      <dc:creator>woutermak</dc:creator>
      <dc:date>2017-05-31T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363922#M18069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are on version 16.x, take a look at this example: &lt;A href="https://community.qlik.com/thread/204146"&gt;Index on page loop excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH - Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363922#M18069</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-05-31T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363923#M18070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/187194"&gt;djk&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've gone through your post and added below macro into your template after that when i preview the macro not auto running it? but if ran manually and it works . can u advise me. thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sub sbHello()&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Range("A1").Value = Range("B9")&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363923#M18070</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-05-31T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363924#M18071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see your macro in the template.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165309_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I tested my project again and it works just fine. Remember to Preview as Xlsm:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165312_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;- Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363924#M18071</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2017-05-31T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running Macro Inside Template?</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363925#M18072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/187194"&gt;djk&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working fine. Tks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Sub Workbook_Open()&lt;/P&gt;&lt;P&gt;Call sbHello&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;Sub sbHello()&lt;/P&gt;&lt;P&gt;Sheet2.Range("A1").Value = "hello"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 09:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Running-Macro-Inside-Template/m-p/1363925#M18072</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-05-31T09:28:56Z</dc:date>
    </item>
  </channel>
</rss>

