<?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: How to get Active Sheet ID and object id  to QlikView Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959630#M645304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wassenaar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanik you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have action to that text box, when end user clicked on that text box then only my macro needs to show message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is i want to achive it with based on the Active sheet and Active text bbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any other info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Dec 2015 01:46:07 GMT</pubDate>
    <dc:creator>psankepalli</dc:creator>
    <dc:date>2015-12-20T01:46:07Z</dc:date>
    <item>
      <title>How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959627#M645301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing macro for my Qlikview application. there I have a scenario like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find the Active sheet (SH01) , from there if Obj id (TXT01) is Active then my macro need to show message.&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;&lt;/P&gt;&lt;P&gt;if ActiveDocument.ActiveSheet.GetProperties.SheetId="Document\SH14" and ActiveDocument.ActiveSheet.SheetObjects("Document\TX17").isactive then&amp;nbsp; MsgBox "Test Success"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting the error at &lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.ActiveSheet.SheetObjects("Document\TX17").isactive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to check for particular text object is active or not&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;KR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 04:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959627#M645301</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-12-19T04:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959628#M645302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A text object becomes active if a user clicks it. The only way to run your macro is when the user clicks the text box and you've assigned an action to it to execute that macro. But then you already know that the text box was activated because otherwise the action that executes the macro wouldn't have run. In other words you don't need you macro. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 06:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959628#M645302</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-19T06:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959629#M645303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macros should be rather not used in this way, see: &lt;A href="https://community.qlik.com/qlik-blogpost/3700"&gt;Macros are Bad&lt;/A&gt; but what is the reason for showing a message? Maybe you could get a similar usability if you used variable-controlled visibility-conditions within the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 06:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959629#M645303</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-19T06:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959630#M645304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wassenaar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanik you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have action to that text box, when end user clicked on that text box then only my macro needs to show message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is i want to achive it with based on the Active sheet and Active text bbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any other info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 01:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959630#M645304</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-12-20T01:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959631#M645305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, my requirement is I want to assign chart id to the variable object. based on active sheet and active text box. then I can export Chart data to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My condition should be similar like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ActiveDocument.ActiveSheet.GetProperties.SheetId="Document\SH01" and ActiveDocument.ActiveSheet.SheetObjects("Document\TX01").isactive then&amp;nbsp; objid="CH05"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.ActiveSheet.SheetObjects("Document\TX01").isactive &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;please help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;KR&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 01:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959631#M645305</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-12-20T01:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959632#M645306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually my requirement is similar to this condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if ActiveDocument.ActiveSheet.GetProperties.SheetId="Document\SH01" and ActiveDocument.ActiveSheet.SheetObjects("Document\TX01").isactive then&amp;nbsp; objid="CH05"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if ActiveDocument.ActiveSheet.GetProperties.SheetId="Document\SH01" and ActiveDocument.ActiveSheet.SheetObjects("Document\TX02").isactive then&amp;nbsp; objid="CH06"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;in this script, below one is not working&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ActiveDocument.ActiveSheet.SheetObjects("Document\TX01").isactive&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Please let me know how to achieve this.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;KR&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 01:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959632#M645306</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-12-20T01:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959633#M645307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like above mentioned in most cases you could better use variable-controlled visibility-conditions for objects, see here an example &lt;A href="https://community.qlik.com/message/513282"&gt;Re: Visibility for a text object on click on another text object in image format&lt;/A&gt;‌. For exporting a chart to excel you didn't need to know on which sheet it is and if it's activated or minimized or not - it will be exported.&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, 21 Dec 2015 07:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959633#M645307</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-21T07:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Active Sheet ID and object id  to QlikView Macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959634#M645308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for&amp;nbsp; your reply. Let me work on this with your suggestion and get back to you with the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 05:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Active-Sheet-ID-and-object-id-to-QlikView-Macro/m-p/959634#M645308</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-12-22T05:30:29Z</dc:date>
    </item>
  </channel>
</rss>

