<?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 Banding on multiple pages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Banding-on-multiple-pages/m-p/281697#M104779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a quite tricky problem on printing a report, maybe you could help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that a group of 3 pages (lets say stock, sales, inventory coverage) to be printed for a group of country (Mexico, USA, UK, Canada).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I create a report and I want in the end :&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of Mexico&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of USA&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of UK&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of Canada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched for long on forums and if I understand well, macros are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, I am looking something like :&lt;/P&gt;&lt;P&gt;1) get the list of possible countries&lt;/P&gt;&lt;P&gt;2) loop on countries&lt;/P&gt;&lt;P&gt;3) print the report by appending the doc already created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any kind of help on one of these 3 steps will be most (most!!) welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks quite simple right now but I did not even manage to get the lisbox values in a msgbox, &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now my code looks like this:&lt;/P&gt;&lt;P&gt;'get nb of countries&lt;/P&gt;&lt;P&gt;set lb = ActiveDocument.GetSheetObject("Country_List")&lt;/P&gt;&lt;P&gt;n = lb.GetCardinal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgbox(n) 'Here, ok, it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'iterate on each country&lt;/P&gt;&lt;P&gt;For i = 1 To n&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(lb(i))&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hubert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 11:56:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-22T11:56:07Z</dc:date>
    <item>
      <title>Banding on multiple pages</title>
      <link>https://community.qlik.com/t5/QlikView/Banding-on-multiple-pages/m-p/281697#M104779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a quite tricky problem on printing a report, maybe you could help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that a group of 3 pages (lets say stock, sales, inventory coverage) to be printed for a group of country (Mexico, USA, UK, Canada).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I create a report and I want in the end :&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of Mexico&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of USA&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of UK&lt;/P&gt;&lt;P&gt;stock, sales, inventory coverage of Canada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched for long on forums and if I understand well, macros are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, I am looking something like :&lt;/P&gt;&lt;P&gt;1) get the list of possible countries&lt;/P&gt;&lt;P&gt;2) loop on countries&lt;/P&gt;&lt;P&gt;3) print the report by appending the doc already created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any kind of help on one of these 3 steps will be most (most!!) welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks quite simple right now but I did not even manage to get the lisbox values in a msgbox, &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now my code looks like this:&lt;/P&gt;&lt;P&gt;'get nb of countries&lt;/P&gt;&lt;P&gt;set lb = ActiveDocument.GetSheetObject("Country_List")&lt;/P&gt;&lt;P&gt;n = lb.GetCardinal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgbox(n) 'Here, ok, it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'iterate on each country&lt;/P&gt;&lt;P&gt;For i = 1 To n&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(lb(i))&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hubert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 11:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Banding-on-multiple-pages/m-p/281697#M104779</guid>
      <dc:creator />
      <dc:date>2011-09-22T11:56:07Z</dc:date>
    </item>
  </channel>
</rss>

