<?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 Macro in VBA to select values from a list box expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-in-VBA-to-select-values-from-a-list-box-expression/m-p/825697#M290810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make a a selection from a list box which has an expression in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generally use the below syntax to select values from list box:-&lt;/P&gt;&lt;P&gt;listbox3=Array("&amp;lt;value&amp;gt;")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;Set QvDoc = Qv.OpenDoc("&amp;lt;QV_File_location&amp;gt;")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QvDoc.GetSheetObject("&amp;lt;objectID")&lt;/P&gt;&lt;P&gt;Set fz = QvDoc.Fields("objectname")&lt;/P&gt;&lt;P&gt;for each v in listbox3&lt;/P&gt;&lt;P&gt;&amp;nbsp; fz.ToggleSelect v&lt;/P&gt;&lt;P&gt; next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But whenever I try to access an expression from a list box, it will have an objectID but wont have an object name&amp;nbsp; ? How can I solve for this problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Dec 2014 07:34:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-13T07:34:12Z</dc:date>
    <item>
      <title>Macro in VBA to select values from a list box expression</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-in-VBA-to-select-values-from-a-list-box-expression/m-p/825697#M290810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to make a a selection from a list box which has an expression in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generally use the below syntax to select values from list box:-&lt;/P&gt;&lt;P&gt;listbox3=Array("&amp;lt;value&amp;gt;")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Qv = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;Set QvDoc = Qv.OpenDoc("&amp;lt;QV_File_location&amp;gt;")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QvDoc.GetSheetObject("&amp;lt;objectID")&lt;/P&gt;&lt;P&gt;Set fz = QvDoc.Fields("objectname")&lt;/P&gt;&lt;P&gt;for each v in listbox3&lt;/P&gt;&lt;P&gt;&amp;nbsp; fz.ToggleSelect v&lt;/P&gt;&lt;P&gt; next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But whenever I try to access an expression from a list box, it will have an objectID but wont have an object name&amp;nbsp; ? How can I solve for this problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2014 07:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-in-VBA-to-select-values-from-a-list-box-expression/m-p/825697#M290810</guid>
      <dc:creator />
      <dc:date>2014-12-13T07:34:12Z</dc:date>
    </item>
  </channel>
</rss>

