<?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 to drill down to another sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143301#M505963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;emveha86, I don't understand what your current problem is. The solution provided by sparur should do the trick. Just create a button and link it to the following macro sub routine:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sub Open_SH02&lt;BR /&gt; ActiveDocument.Sheets("SH02").Activate&lt;BR /&gt;End sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2009 23:42:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-05T23:42:51Z</dc:date>
    <item>
      <title>Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143298#M505960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple scorecard, based on a straight table, which shows 3 KPI's records (name, target, realisation, indication). If you want to investigate the details of one of these KPI's you have to click on another sheet and then you get the requested info. I want to replace the clicking on the sheet by clicking on the kpi line in the straight table. Using a button (with functionality "shortcut" and "previous/next" sheet) is a simple way to solve the problem. But, what if i need analyse data which is not stored in next or previous sheet, but f.e. 3 sheets further??? Read some of the topics concerning this problem and according to most members, a macro should do the job. Can anyone help me with creating such macro??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 13:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143298#M505960</guid>
      <dc:creator />
      <dc:date>2009-05-05T13:34:33Z</dc:date>
    </item>
    <item>
      <title>Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143299#M505961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, emveha86&lt;/P&gt;&lt;P&gt;I made a macro that has activated the page for its SheetID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub ShowSheetMargin&lt;BR /&gt;&lt;BR /&gt; set var = ActiveDocument.Variables("vDetailSheet")&lt;BR /&gt;&lt;BR /&gt; var.SetContent "MARGIN", true&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Sheets("MARGIN").Activate&lt;BR /&gt;&lt;BR /&gt; call SetTabrowColor&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;here string "MARGIN" it's SheetID..&lt;/P&gt;&lt;P&gt;In your case enough only one string: ActiveDocument.Sheets("MARGIN").Activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 14:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143299#M505961</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2009-05-05T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143300#M505962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sparur,&lt;/P&gt;&lt;P&gt;thnx for your macro! Used the string as mentioned: ActiveDocument.Sheets("MARGIN").Activate. And instead "MARGIN" I used the sheetid; SH02. But the macro doesn t work..... In the debug mode i get a message "Failed to get Disp ID of function". In test mode the macro works, but after closing the macro it fails .... Any Idea what goes wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143300#M505962</guid>
      <dc:creator />
      <dc:date>2009-05-05T23:29:32Z</dc:date>
    </item>
    <item>
      <title>Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143301#M505963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;emveha86, I don't understand what your current problem is. The solution provided by sparur should do the trick. Just create a button and link it to the following macro sub routine:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sub Open_SH02&lt;BR /&gt; ActiveDocument.Sheets("SH02").Activate&lt;BR /&gt;End sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143301#M505963</guid>
      <dc:creator />
      <dc:date>2009-05-05T23:42:51Z</dc:date>
    </item>
    <item>
      <title>Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143302#M505964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;thnx for your reply, it works!!!&lt;/P&gt;&lt;P&gt;Great!!!&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 14:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143302#M505964</guid>
      <dc:creator />
      <dc:date>2009-05-06T14:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143303#M505965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;how to change the size of sheet i.e to work as view / zoom i.e size of sheet 10% ,20% ,......100%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;by using macro&amp;nbsp; handle the zoom of sheet.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;use button ,listbox add 10%,20%,,,,100% field when you select 20% then the size of sheet will be 20% &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 12:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143303#M505965</guid>
      <dc:creator />
      <dc:date>2013-06-04T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to drill down to another sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143304#M505966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Taken from API Reference qvw file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set mysheet=ActiveDocument.ActiveSheet&lt;/P&gt;&lt;P&gt;set sp=mysheet.GetProperties&lt;/P&gt;&lt;P&gt;sp.ZoomFactor = 0.9&lt;/P&gt;&lt;P&gt;mysheet.SetProperties sp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 13:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-drill-down-to-another-sheet/m-p/143304#M505966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-04T13:21:21Z</dc:date>
    </item>
  </channel>
</rss>

