<?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: Finding active without hidden objects of current sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768681#M272999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that there is really no method to read the condition-state if an object is hidden or not (maybe it's only not documented but to find the correct syntax won't be funny).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternative approaches could be to read the GetObjectmemoryUsage or GetObjectCalcTime or to call any object-feature which will fail (maybe a print) and handle it with an OnError-statement. But I think it would be quite difficult so that the suggestion from &lt;/SPAN&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="39354" data-objecttype="3" href="https://community.qlik.com/people/cabhijit"&gt;Abhijit Bansode&lt;/A&gt;&lt;SPAN&gt; could be the easiest way - maybe with an expression inside the caption with the same condition how on the visibility - if(condition=true,caption,hidden).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 12:47:22 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-02-09T12:47:22Z</dc:date>
    <item>
      <title>Finding active without hidden objects of current sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768677#M272995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to export the chart to excel of active object and am able to do using below code,&lt;/P&gt;&lt;P&gt;Shtobj = ActiveDocument.ActiveSheet.GetSheetObjects&lt;/P&gt;&lt;P&gt;for i = lBound(Shtobj) to uBound(Shtobj)&lt;/P&gt;&lt;P&gt;msgbox(Shtobj(i).GetObjectId)&lt;/P&gt;&lt;P&gt;'msgbox(Shtobj(i).IsMinimized)&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;Now am getting the hidden object as well. How to avoid those object in macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768677#M272995</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2015-02-09T11:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Finding active object without hidden objects of current sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768678#M272996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rem ** fetch invisible objects on active sheet **&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.AdjustOffScreenObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you list of all hidden objects.&lt;/P&gt;&lt;P&gt;you can check by using If statement, to include this object in export or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768678#M272996</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2015-02-09T11:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding active object without hidden objects of current sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768679#M272997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to misguide you. above technique will not work.&lt;/P&gt;&lt;P&gt;I've a workaround to achieve this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14234820730603226 jive_text_macro jive_macro_code" jivemacro_uid="_14234820730603226" modifiedtitle="true"&gt;
&lt;P&gt;'set the Id of the hidden objects with same naming convention&lt;/P&gt;
&lt;P&gt;'lets say Ids of all hidden object starts with HDN_*&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sub Test&lt;/P&gt;
&lt;P&gt;set s=ActiveDocument.ActiveSheet&lt;/P&gt;
&lt;P&gt;objs=s.GetSheetObjects&lt;/P&gt;
&lt;P&gt;for i=lbound(objs) to ubound(objs)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'get id of the object&lt;/P&gt;
&lt;P&gt;&amp;nbsp; msgbox(objs(i).GetObjectId)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Now check if Object Id contains text HDN&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'if it contains&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'don't include object in export&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' include object in export&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Now&lt;/P&gt;
&lt;P&gt;next&lt;/P&gt;
&lt;P&gt;end sub&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you do't want to deal with Object Ids then other option is also available , deal with the object caption&lt;/P&gt;&lt;P&gt;msgbox(objs(i).GetCaption.Name.v)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768679#M272997</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2015-02-09T11:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Finding active without hidden objects of current sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768680#M272998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am showing the objects conditionally. Adding header to id or caption will not work in my scenario. If we find hidden objects then it will be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 12:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768680#M272998</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2015-02-09T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Finding active without hidden objects of current sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768681#M272999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that there is really no method to read the condition-state if an object is hidden or not (maybe it's only not documented but to find the correct syntax won't be funny).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternative approaches could be to read the GetObjectmemoryUsage or GetObjectCalcTime or to call any object-feature which will fail (maybe a print) and handle it with an OnError-statement. But I think it would be quite difficult so that the suggestion from &lt;/SPAN&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="39354" data-objecttype="3" href="https://community.qlik.com/people/cabhijit"&gt;Abhijit Bansode&lt;/A&gt;&lt;SPAN&gt; could be the easiest way - maybe with an expression inside the caption with the same condition how on the visibility - if(condition=true,caption,hidden).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 12:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-active-without-hidden-objects-of-current-sheet/m-p/768681#M272999</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-09T12:47:22Z</dc:date>
    </item>
  </channel>
</rss>

