<?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 script. Values selection by condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446424#M803181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;Hello again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; And again, thank you for your attantion and help.&lt;BR /&gt;&lt;BR /&gt;I woul love not to use VBA till I will get more competenion in it. But the thing is that my boss asked me to provide some changes into allready exist dashboard. So I cannot change the method for solving this task. Just trying to do my best with parts that I allready know and asking for help where i am quite zero.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;Never the less, your example is really useful. Will work with it, because task still need to be solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 17:43:46 GMT</pubDate>
    <dc:creator>Peony</dc:creator>
    <dc:date>2017-11-10T17:43:46Z</dc:date>
    <item>
      <title>VBA script. Values selection by condition</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446422#M803179</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;There is two tables. Each table is in a separate list box. &lt;BR /&gt;If I select in "YM" table some value, for example "2017 08", "2017 07" or "2017 06" in "YQ" automatically should be selected "2017 Q2". If I choose "2016 12", "2017 01" or "2017 02" - "2016 Q3". And so on for other years and quarters. Tha common dependensy is:&lt;/P&gt;&lt;P&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Quater&lt;/P&gt;&lt;P&gt;03,04,05 | Q1&lt;/P&gt;&lt;P&gt;06,07,08 | Q2&lt;/P&gt;&lt;P&gt;09,10,11 | Q3&lt;/P&gt;&lt;P&gt;12,01,02 | Q4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script shoud be realise on VBA and I confused how to do this cause totally rookie in VBA. Please, help me to understand.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YQ&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 Q3&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 Q2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 Q1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 Q4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 Q3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 Q2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 Q1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015 Q4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..............&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014 Q1&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;2017 10&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 09&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 08&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 07&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 06&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 05&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 04&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 03&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 02&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017 01&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 12&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016 10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ............&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014 01&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446422#M803179</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: VBA script. Values selection by condition</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446423#M803180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again Nataliia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would not recommend VBA for this kind of task unless you absolutely have to. Maybe it is enough if you link those fields in your data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the attached app (especially the load script). If you want to automatically select values in YQ assign a OnSelect trigger to the YM field and chose "Select Possible".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446423#M803180</guid>
      <dc:creator>m_s</dc:creator>
      <dc:date>2017-11-09T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: VBA script. Values selection by condition</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446424#M803181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;Hello again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; And again, thank you for your attantion and help.&lt;BR /&gt;&lt;BR /&gt;I woul love not to use VBA till I will get more competenion in it. But the thing is that my boss asked me to provide some changes into allready exist dashboard. So I cannot change the method for solving this task. Just trying to do my best with parts that I allready know and asking for help where i am quite zero.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c27ba0; font-family: trebuchet ms,sans-serif;"&gt;Never the less, your example is really useful. Will work with it, because task still need to be solved.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 17:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-Values-selection-by-condition/m-p/1446424#M803181</guid>
      <dc:creator>Peony</dc:creator>
      <dc:date>2017-11-10T17:43:46Z</dc:date>
    </item>
  </channel>
</rss>

