<?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: VBA  and Nprinting in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629518#M26185</link>
    <description>&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2019 11:11:29 GMT</pubDate>
    <dc:creator>Dabad</dc:creator>
    <dc:date>2019-09-30T11:11:29Z</dc:date>
    <item>
      <title>VBA  and Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629477#M26180</link>
      <description>&lt;P&gt;Hello everyone ,&lt;/P&gt;&lt;P&gt;I'd like first, to thank everyone, who would take time to read this questions, and reply to it.&lt;/P&gt;&lt;P&gt;I'm trying to add a VBA macro, to an nprinting report( Excel report that contains many sheets), in order to hide a sheet if it empty.&lt;/P&gt;&lt;P&gt;I'm finding a hard time, including the code in Nprinting, each time i copy it and try to register it, i receive this error message :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vba.PNG" style="width: 589px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20338i90B72E6303F3DC3D/image-dimensions/589x168?v=v2" width="589" height="168" role="button" title="vba.PNG" alt="vba.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Ps : i&amp;nbsp; have the june 2019 version of nprinting,&lt;/P&gt;&lt;P&gt;and here is the code i'm trying to implement :&lt;/P&gt;&lt;P&gt;Private Sub Worksheet_Change(ByVal Target As Range)&lt;BR /&gt;If Not IsEmpty("Sheet 1[G:G]") Then&lt;BR /&gt;Sheets("Sheet1").Visible = True&lt;BR /&gt;Else&lt;BR /&gt;Sheets("Sheet1").Visible = False&lt;BR /&gt;End If&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 09:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629477#M26180</guid>
      <dc:creator>Dabad</dc:creator>
      <dc:date>2019-09-30T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: VBA  and Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629496#M26184</link>
      <description>&lt;P&gt;how about if you create a xlsm file first with your script and then load it as a template. I assume the problem is that you are creating xlsx template and try to embed vb script in it which is not supported.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20344iD93BD055909B3385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 10:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629496#M26184</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-09-30T10:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: VBA  and Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629518#M26185</link>
      <description>&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 11:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629518#M26185</guid>
      <dc:creator>Dabad</dc:creator>
      <dc:date>2019-09-30T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: VBA  and Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629520#M26186</link>
      <description>&lt;P&gt;Does this solve your problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 11:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629520#M26186</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-09-30T11:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: VBA  and Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629564#M26187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;, you must create and .xlsm template and generate .xlsm report.&lt;/P&gt;
&lt;P&gt;Please note that:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the .xlsm format is supported since September 2018. Older versions don't support it.&lt;/LI&gt;
&lt;LI&gt;Qlik NPrinting 17+ supports only Excel macros. Word and PowerPoint macros are not supported&lt;/LI&gt;
&lt;LI&gt;For safety reasons, VBA code is never executed by Qlik NPrinting, it is only copied from the template to the generated report. It is up to you to create, for example, an event based execution or add a button, etc&lt;/LI&gt;
&lt;LI&gt;As consequence of previous point, Excel reports with VBA created in PDF format will don't show the macro executed&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 13:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-and-Nprinting/m-p/1629564#M26187</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2019-09-30T13:09:34Z</dc:date>
    </item>
  </channel>
</rss>

