<?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: Macro to select all values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926027#M320468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But client wants us to use macro only so cant help it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 10:46:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-07T10:46:43Z</dc:date>
    <item>
      <title>Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926025#M320466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have two questions for macro for default selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.How to apply a macro to select all values in a particular list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;SPAN style="font-size: 13.3333px;"&gt;How to apply a macro to select all values except one&amp;nbsp; in a particular list box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out with code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 10:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926025#M320466</guid>
      <dc:creator />
      <dc:date>2015-10-07T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926026#M320467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you should not use a macro for this. Macros often don't work in a server environment. See &lt;A href="https://community.qlik.com/qlik-blogpost/3700"&gt;Macros are Bad&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do instead, is to use an Action. If you want to select all but one value in a field you can do this by first selecting the value to exclude, then "Select Excluded".&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101256" alt="Action.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101256_Action.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 10:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926026#M320467</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-07T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926027#M320468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But client wants us to use macro only so cant help it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 10:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926027#M320468</guid>
      <dc:creator />
      <dc:date>2015-10-07T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926028#M320469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have to use Macros then this gives you some simple examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;/P&gt;&lt;P&gt;Sub SelectAll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Month").Select "*"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;/P&gt;&lt;P&gt;Sub SelectAllButOne&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Month").Select "September"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Month").SelectExcluded&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 11:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926028#M320469</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-07T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926029#M320470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you should tell the client that it's a bad solution. Actions are better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the following macro will select all values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SelectX&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Month").Select "*"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following macro will select all except September&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SelectY&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("Month").Select "September"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ActiveDocument.Fields("Month").SelectExcluded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 11:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926029#M320470</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-07T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to select all values</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926030#M320471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You&amp;nbsp; everyone &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-select-all-values/m-p/926030#M320471</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:23:58Z</dc:date>
    </item>
  </channel>
</rss>

