<?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 Code not copied in generated excel file in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220704#M13310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean-Pierre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since your template is an &lt;SPAN style="text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;Excel Macro Enabled Workbook (.xlsm)&lt;SPAN class="Apple-converted-space"&gt; your output format should be set to the same. See this thread for an example: &lt;A href="https://community.qlik.com/thread/204146"&gt;Index on page loop excel&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN class="Apple-converted-space"&gt;HTH - Daniel.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 19:20:39 GMT</pubDate>
    <dc:creator>Daniel_Jenkins</dc:creator>
    <dc:date>2016-11-24T19:20:39Z</dc:date>
    <item>
      <title>VBA Code not copied in generated excel file</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220702#M13308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an excel template, i've written a vba code under the Open event of the worksheet (to auto fit certain columns because the wrapping is not displaying all the cell content).&lt;/P&gt;&lt;P&gt;But the excel document that is generated by NPrinting (using v16.4) doesn't contain this code anymore, the Open event is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone suggest a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4484"&gt;stevedark&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/183737"&gt;ath&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220702#M13308</guid>
      <dc:creator />
      <dc:date>2016-11-24T09:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code not copied in generated excel file</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220703#M13309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not something I have tried, but I can't see why it would lose the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mentioning &lt;A href="https://community.qlik.com/qlik-users/188202"&gt;los&lt;/A&gt;‌ and &lt;A href="https://community.qlik.com/qlik-users/66070"&gt;ngulliver&lt;/A&gt;‌ as they may have some insights on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 13:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220703#M13309</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2016-11-24T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code not copied in generated excel file</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220704#M13310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean-Pierre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since your template is an &lt;SPAN style="text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;Excel Macro Enabled Workbook (.xlsm)&lt;SPAN class="Apple-converted-space"&gt; your output format should be set to the same. See this thread for an example: &lt;A href="https://community.qlik.com/thread/204146"&gt;Index on page loop excel&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;&lt;SPAN class="Apple-converted-space"&gt;HTH - Daniel.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 19:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220704#M13310</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2016-11-24T19:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Code not copied in generated excel file</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220705#M13311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super!&lt;/P&gt;&lt;P&gt;Many thanks Daniel.&lt;/P&gt;&lt;P&gt;Indeed I adjusted the output format and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2016 11:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/VBA-Code-not-copied-in-generated-excel-file/m-p/1220705#M13311</guid>
      <dc:creator />
      <dc:date>2016-11-25T11:20:01Z</dc:date>
    </item>
  </channel>
</rss>

