<?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: Show/hide sheets in excel generated from n printing in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35457#M1316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VBA code &lt;STRONG style="text-decoration: underline;"&gt;will not work&lt;/STRONG&gt; - unless you are using NPrinitng 16.X. btw - i can't see attachment neither...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding other question please create new topic and we will discuss it there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 06:44:07 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2018-05-16T06:44:07Z</dc:date>
    <item>
      <title>Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35451#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using N printing on demand Nprinting 17.6.x&lt;/P&gt;&lt;P&gt;Coming straight to the question&lt;/P&gt;&lt;P&gt;Lets&amp;nbsp; say i have 3 straight table in my app Straight-1 straight-2 straight-3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of creating 3 different reports(lets say excel) i am using one report with th three table being in 3 different sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is to have 3 buttons 1,2,3 . When user click on button 1 and run the on demand task only sheet 1 and table 1 should be exported to excel. When 2 and run the same task sheet 2 and table 2 should be exported to excel and other needed to be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using macro but seems n printing 17 doesn't allow macros. I tried using pagination as well but that didn't work out well in this case. Can anyone has any approach. I have like 15-20 tables and i don't want to create 15-20 reports. Any suggestion would be valuable. If you know who can help pelase tag them as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 14:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35451#M1310</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-05-15T14:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35452#M1311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your data or sample application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 15:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35452#M1311</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-05-15T15:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35453#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;understanding on demand functionality is the key to implemnt this solution. Since On-demand can only pass user selections as a filter and then trigger report generation what you probably will have to do is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For your 3 buttons:&lt;UL&gt;&lt;LI&gt;instead of buttons (probably with variables) you have to create a data island field say "__ReportId" witth 3 values (like Report 1, Report 2, Report 3 so it looks nice on UI in QlikView. Based on selection from this field i would create a conditional calculation for your tables 1,2,3) - calculation condition on QlikView chart properties under general tab&lt;/LI&gt;&lt;LI&gt;In NPrinitng Designer bring all 3 tables into left nav nodes&lt;/LI&gt;&lt;LI&gt;In NPrinting Designer create in lev nav Formula with expression: =Only(__ReportId)&lt;/LI&gt;&lt;LI&gt;Create on single sheet all 3 reports by dragging and dropping column tags to spreadsheet (one under another)&lt;/LI&gt;&lt;LI&gt;Put in cell (for example in Cell a1 a formula which would return value what report needs to be created)&lt;/LI&gt;&lt;LI&gt;Based on this value created conditional formulas to display your report headers... see image...&lt;/LI&gt;&lt;LI&gt;User needs to select which report he/she wants to receive and the selection will pass filter on cell A1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;This solution is not ideal as report 1 will start say from rows 2-3, report 2 from rows 4-5 and report 3 from rows 6-7... but it would as long as report formatting is not too complex or does not differ too much between those reports&lt;/LI&gt;&lt;LI&gt;you can take the same approach and for each sheet build separate report - the only thing is that you will not be able to hide sheets - but repectively each sheet will contain only report user has selected and other sheets would be empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="202493" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202493_1.png" style="height: 335px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 22:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35453#M1312</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-05-15T22:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35454#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what essentially i have done with one exception i have used getfieldselection(field) instead of only(field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not so clear here.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;Put in cell (for example in Cell a1 a formula which would return value what report needs to be created)&lt;/LI&gt;
&lt;LI&gt;Based on this value created conditional formulas to display your report headers... see image...&lt;/LI&gt;
&lt;LI&gt;User needs to select which report he/she wants to receive and the selection will pass filter on cell A1&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;How this formula will control the appearance or disappearance of header. Till now i can&amp;nbsp; hide the data but the header are still showing up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to hide the sheets using this vba code. &lt;A href="https://www.extendoffice.com/documents/excel/3561-excel-hide-sheet-based-on-cell-value.html" title="https://www.extendoffice.com/documents/excel/3561-excel-hide-sheet-based-on-cell-value.html"&gt;https://www.extendoffice.com/documents/excel/3561-excel-hide-sheet-based-on-cell-value.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 05:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35454#M1313</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-05-16T05:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35455#M1314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using getfieldselection allows multiple selection values to be returned, so i don't think it is a good idea to use it. I would use rather binary condition!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the screenshot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;There is an arow pointing from formula to cell A1. Formula is: =Only(Dim1) ;in my case it can return values A or B or C&lt;/LI&gt;&lt;LI&gt;now when you look at the column headers for example Cell "B2" on my screenshot - they have excel formula in there: If(A1="C","Label for header"&lt;BR /&gt;,"") which basicly means that headers will only apear when the cell A1 will have "C". Since cell A1 is dependent on my formula from QlikView it will then conditionally change content of cell headers to empty strings making them invisible. In my case "Label for header = Dim1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 05:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35455#M1314</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-05-16T05:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35456#M1315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lech .. I think this will do. Did you have a look at the vba code i attached for hiding tabs do you think that will work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this question is out of the scope of this discussion but can you please let me know the flexibility of on demand feature?&lt;/P&gt;&lt;P&gt;1: If the user size is more than is it a good option to go to ?&lt;/P&gt;&lt;P&gt;2: Let say 5 person ran different on demand report at a time is the execution parallel or one after another like in a queue ?&lt;/P&gt;&lt;P&gt;3: Which one is faster scheduling report or on demand?&lt;/P&gt;&lt;P&gt;4: is there is any drawback of using on demand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We just started using on demand and these are the question we are being asked by customers. I tried to search these but cant get a full proof answer. Can you please answer these as well.&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;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 05:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35456#M1315</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-05-16T05:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide sheets in excel generated from n printing</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35457#M1316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VBA code &lt;STRONG style="text-decoration: underline;"&gt;will not work&lt;/STRONG&gt; - unless you are using NPrinitng 16.X. btw - i can't see attachment neither...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding other question please create new topic and we will discuss it there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 06:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Show-hide-sheets-in-excel-generated-from-n-printing/m-p/35457#M1316</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-05-16T06:44:07Z</dc:date>
    </item>
  </channel>
</rss>

