<?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 New object not found in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202466#M60156</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;I am running QV9sr4 and have a document that creates list boxes through a macro and then tries to make one of them active. However the object isnt found. The attached example shows the problem:&lt;/P&gt;&lt;P&gt;- Click the 'Add' button to automatically create 3 list boxes, WaitForIdle then save&lt;/P&gt;&lt;P&gt;- Now click any of the Activate buttons and the macro will fail (object not found)&lt;/P&gt;&lt;P&gt;However, close QV (no save required) and go back in an click any of the Activate buttons and all is fine. Ironically, where the 'activate' doesnt find the objects, they are seen by 'GetListBoxes' as can be seen if you click 'Remove'.&lt;/P&gt;&lt;P&gt;Any ideas how I can activate a listbox without the macro falling over?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jun 2010 15:07:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-25T15:07:44Z</dc:date>
    <item>
      <title>New object not found</title>
      <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202466#M60156</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;I am running QV9sr4 and have a document that creates list boxes through a macro and then tries to make one of them active. However the object isnt found. The attached example shows the problem:&lt;/P&gt;&lt;P&gt;- Click the 'Add' button to automatically create 3 list boxes, WaitForIdle then save&lt;/P&gt;&lt;P&gt;- Now click any of the Activate buttons and the macro will fail (object not found)&lt;/P&gt;&lt;P&gt;However, close QV (no save required) and go back in an click any of the Activate buttons and all is fine. Ironically, where the 'activate' doesnt find the objects, they are seen by 'GetListBoxes' as can be seen if you click 'Remove'.&lt;/P&gt;&lt;P&gt;Any ideas how I can activate a listbox without the macro falling over?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 15:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202466#M60156</guid>
      <dc:creator />
      <dc:date>2010-06-25T15:07:44Z</dc:date>
    </item>
    <item>
      <title>New object not found</title>
      <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202467#M60157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a strange one. It seems it doesn't like your custom naming conventions. It worked for me when I changed the "OS1" in the code to the default "LB01". Weird.&lt;/P&gt;&lt;P&gt;It seems that you cannot reference it by Name (ID) or by SheetObject number (which incidentally I can't seem to find in the object properties anywhere - had to loop through all sheet objects to find out which Id mapped to which number)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 16:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202467#M60157</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-06-25T16:00:08Z</dc:date>
    </item>
    <item>
      <title>New object not found</title>
      <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202468#M60158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An odd one indeed! I tried changing the IDs to the standard naming convention as LB101, LB102, LB103 which results in references to LB101 erroring but LB102 and LB103 being OK!&lt;/P&gt;&lt;P&gt;I'll report this to support and see what they say.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 16:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202468#M60158</guid>
      <dc:creator />
      <dc:date>2010-06-25T16:22:25Z</dc:date>
    </item>
    <item>
      <title>New object not found</title>
      <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202469#M60159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gordon,&lt;/P&gt;&lt;P&gt;it looks like a bug, and I'd recommend reporting it... As a work around - take advantage of the fact that it's working with "GetSheetObjects" or "GetListBoxes" and go around the problem, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub activate11&lt;BR /&gt;&lt;BR /&gt; Objects = ActiveDocument.ActiveSheet.GetSheetObjects&lt;BR /&gt; For i = lBound(Objects) To uBound(Objects)&lt;BR /&gt; If Objects(i).GetObjectID = "OS2" Then 'pivot tables&lt;BR /&gt; Objects(i).Activate&lt;BR /&gt; end if&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 17:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202469#M60159</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-06-25T17:24:19Z</dc:date>
    </item>
    <item>
      <title>New object not found</title>
      <link>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202470#M60160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Oleg,&lt;/P&gt;&lt;P&gt;I have reported it and in the meantime will use the workaround (with an 'exit for' added after the .activate to terminate the loop).&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 17:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-object-not-found/m-p/202470#M60160</guid>
      <dc:creator />
      <dc:date>2010-06-25T17:43:40Z</dc:date>
    </item>
  </channel>
</rss>

