<?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 QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro/m-p/353140#M703030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the .qvw which has 4 sheets out of which 2 sheets Conditional:hidden .....&lt;/P&gt;&lt;P&gt;Can i get the ID of hidden Sheets using Macro........???&lt;/P&gt;&lt;P&gt;Because i am getiing the ID of the Sheets which are not hidden ... but not&amp;nbsp; getting the ID for Hidden sheets&lt;/P&gt;&lt;P&gt;I am pasting below my sample Macro code???&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;Sub Test2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MsgBox(ActiveDocument.NoOfSheets)&lt;/P&gt;&lt;P&gt;for i = 0 to ActiveDocument.NoOfSheets-1&lt;/P&gt;&lt;P&gt;Set oSheet = ActiveDocument.Sheets(i)&lt;/P&gt;&lt;P&gt;Set sheetProperty = oSheet.GetProperties&lt;/P&gt;&lt;P&gt;MsgBox(sheetProperty.SheetID)&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2012 06:30:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-17T06:30:53Z</dc:date>
    <item>
      <title>Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/353140#M703030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the .qvw which has 4 sheets out of which 2 sheets Conditional:hidden .....&lt;/P&gt;&lt;P&gt;Can i get the ID of hidden Sheets using Macro........???&lt;/P&gt;&lt;P&gt;Because i am getiing the ID of the Sheets which are not hidden ... but not&amp;nbsp; getting the ID for Hidden sheets&lt;/P&gt;&lt;P&gt;I am pasting below my sample Macro code???&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;Sub Test2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MsgBox(ActiveDocument.NoOfSheets)&lt;/P&gt;&lt;P&gt;for i = 0 to ActiveDocument.NoOfSheets-1&lt;/P&gt;&lt;P&gt;Set oSheet = ActiveDocument.Sheets(i)&lt;/P&gt;&lt;P&gt;Set sheetProperty = oSheet.GetProperties&lt;/P&gt;&lt;P&gt;MsgBox(sheetProperty.SheetID)&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 06:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/353140#M703030</guid>
      <dc:creator />
      <dc:date>2012-07-17T06:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Macro/m-p/353141#M703031</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'm not sure it's optional using macro commands alone.&lt;/P&gt;&lt;P&gt;What you can do, is create a variable vShowAllSheets with a value of 1 or 0.&lt;/P&gt;&lt;P&gt;In the hidden sheet apply a rule that will show the tab if the value is 1.&lt;/P&gt;&lt;P&gt;In the begining of the code set this variable to be 1, and start your macro.&lt;/P&gt;&lt;P&gt;At the end of your macro, set the variable to 0 thus hiding the desired sheet again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Eliran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I have attached an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 08:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro/m-p/353141#M703031</guid>
      <dc:creator>eliran</dc:creator>
      <dc:date>2012-07-17T08:18:50Z</dc:date>
    </item>
  </channel>
</rss>

