<?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: need help to write a macro.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369672#M577872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Arun &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am also looking forward to add array to list box created by macros as you discribe it above, but i don't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me out to fix this issue. At least how to add values to the&amp;nbsp; list box via macros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Apr 2012 12:52:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-07T12:52:37Z</dc:date>
    <item>
      <title>need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369668#M577868</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;I want to write a macro to write an array of values in a list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have an array of values like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a(0)=123&lt;/P&gt;&lt;P&gt;a(1)=124&lt;/P&gt;&lt;P&gt;a(2)=125&lt;/P&gt;&lt;P&gt;a(3)=126&lt;/P&gt;&lt;P&gt;a(4)=127&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then using a macro i want to create a listbox and write array values to listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advise or suggesstions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 18:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369668#M577868</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2012-03-26T18:49:33Z</dc:date>
    </item>
    <item>
      <title>need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369669#M577869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does it have to be through macro? would doing it in the load script work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 21:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369669#M577869</guid>
      <dc:creator />
      <dc:date>2012-03-26T21:03:53Z</dc:date>
    </item>
    <item>
      <title>need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369670#M577870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use macro. because i am calculating the array using vb script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 05:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369670#M577870</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2012-03-27T05:05:58Z</dc:date>
    </item>
    <item>
      <title>need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369671#M577871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is u can only add a field name to a list box, so your data should be in some field (i.e column) then only it can be represenred in a list box...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example to add field class:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set LB = ActiveDocument.ActiveSheet.CreateListBox&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set BoxProp=LB.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BoxProp.Def.Name = "Class"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LB.SetProperties BoxProp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create a field, the script should be modified,&lt;/P&gt;&lt;P&gt; To add a new Line in script we have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** add new line to script **&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set docprop = ActiveDocument.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;docprop.Script = docprop.Script &amp;amp; "Load * from abc.csv;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.SetProperties docprop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to add your array in script, give it a name and then include it in a listbox....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun Goel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 05:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369671#M577871</guid>
      <dc:creator />
      <dc:date>2012-03-27T05:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369672#M577872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Arun &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am also looking forward to add array to list box created by macros as you discribe it above, but i don't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me out to fix this issue. At least how to add values to the&amp;nbsp; list box via macros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2012 12:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369672#M577872</guid>
      <dc:creator />
      <dc:date>2012-04-07T12:52:37Z</dc:date>
    </item>
    <item>
      <title>need help to write a macro..</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369673#M577873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suahil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am also looking forward to add array to list box created by macros as you discribe it above, but i don't get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please Help me out to fix this issue. At least how to add values to the&amp;nbsp; list box via macros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 08:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-to-write-a-macro/m-p/369673#M577873</guid>
      <dc:creator />
      <dc:date>2012-04-08T08:42:04Z</dc:date>
    </item>
  </channel>
</rss>

