<?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: Set Predefined Values in Drop-down with a macro? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861523#M301510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try creating one variable with required proeperties set in the fron-end (one time)&lt;/P&gt;&lt;P&gt;then read propeties (using getproperties method) from this variable and apply it to all the variables that you are creating in your macro (using setproperties method)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2015 20:06:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-06T20:06:43Z</dc:date>
    <item>
      <title>Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861520#M301507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is is possible to set the Predefined Values in Drop-down with a macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/82985_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 18:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861520#M301507</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-04-06T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861521#M301508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you want to do that?&lt;/P&gt;&lt;P&gt;Looks like you are already populating the values in your variable dynamically.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;you creating a lot of variables on the fly and want to set the value list property for each them as 'predefined values in drop down' by writing a macro'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861521#M301508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T19:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861522#M301509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating variables on the fly via a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not been able to figure how to set the "Predefined Values in Drop-down" with the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this can't be done, but I'm hoping for suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 19:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861522#M301509</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-04-06T19:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861523#M301510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try creating one variable with required proeperties set in the fron-end (one time)&lt;/P&gt;&lt;P&gt;then read propeties (using getproperties method) from this variable and apply it to all the variables that you are creating in your macro (using setproperties method)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861523#M301510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T20:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861524#M301511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading the properties from one variable and then trying to set the same properties to another variable cause VBScript to error with -2147467259.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861524#M301511</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-04-07T12:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Predefined Values in Drop-down with a macro?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861525#M301512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked after I added the middle line. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set prop = ActiveDocument.Variables("var1").GetProperties&lt;/P&gt;&lt;P&gt;prop.Name = "var2"&lt;/P&gt;&lt;P&gt;ActiveDocument.Variables("var2").SetProperties prop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Predefined-Values-in-Drop-down-with-a-macro/m-p/861525#M301512</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-04-07T12:15:51Z</dc:date>
    </item>
  </channel>
</rss>

