<?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 Select all Months...VB problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198931#M58057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub Select_Month&lt;BR /&gt;set val = ActiveDocument.Variables("maxMonth")&lt;BR /&gt;a = val.GetContent.String&lt;BR /&gt;ActiveDocument.Fields("Month").Select "&amp;lt;="&amp;amp;a&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2009 23:06:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-30T23:06:41Z</dc:date>
    <item>
      <title>Select all Months...VB problems</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198928#M58054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to build a Macro that will do selections on all the months (starting from Jan) untill the month that&lt;/P&gt;&lt;P&gt;have just been selected by the user.&lt;/P&gt;&lt;P&gt;i.e when the user selecting 'MAR' then the macro will select JAN+FEB+MAR.&lt;/P&gt;&lt;P&gt;I strarted writing it :&lt;/P&gt;&lt;P&gt;sub Select_Month&lt;BR /&gt;set val = ActiveDocument.Variables("maxMonth")&lt;/P&gt;&lt;P&gt;////// I build a Variable that holds the max selected month&lt;/P&gt;&lt;P&gt;a = val.GetContent.String&lt;/P&gt;&lt;P&gt;for i=1 to a&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Month").Select i&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tips anyone? I should build an array somehow?&lt;/P&gt;&lt;P&gt;Thanks you very much&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 21:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198928#M58054</guid>
      <dc:creator />
      <dc:date>2009-12-30T21:21:10Z</dc:date>
    </item>
    <item>
      <title>Select all Months...VB problems</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198929#M58055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you will always be selecting January and it looks like your months are just numbers. Something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sub Select_Month&lt;BR /&gt; set val = ActiveDocument.Variables("maxMonth")&lt;BR /&gt; a = val.GetContent.String&lt;BR /&gt; ActiveDocument.Fields("Month").Select i&lt;BR /&gt; for i=2 to a&lt;BR /&gt; ActiveDocument.Fields("Month").ToggleSelect i&lt;BR /&gt; next&lt;BR /&gt;end sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 22:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198929#M58055</guid>
      <dc:creator />
      <dc:date>2009-12-30T22:25:18Z</dc:date>
    </item>
    <item>
      <title>Select all Months...VB problems</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198930#M58056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;excellent!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 22:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198930#M58056</guid>
      <dc:creator />
      <dc:date>2009-12-30T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Select all Months...VB problems</title>
      <link>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198931#M58057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub Select_Month&lt;BR /&gt;set val = ActiveDocument.Variables("maxMonth")&lt;BR /&gt;a = val.GetContent.String&lt;BR /&gt;ActiveDocument.Fields("Month").Select "&amp;lt;="&amp;amp;a&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 23:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-all-Months-VB-problems/m-p/198931#M58057</guid>
      <dc:creator />
      <dc:date>2009-12-30T23:06:41Z</dc:date>
    </item>
  </channel>
</rss>

