<?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: Open other QVW and active a sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347374#M573448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you (or not).&amp;nbsp; We have an excel file that has a hyperlink that opens the IE Plugin, opens a particular document and opens to a specific sheet based on a variable.&amp;nbsp; Heres how we implemented it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In the QV document we created a variable vOpeningSheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In the Document Event Trigger we call a Macro to run OnOpen. The Code is&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;sub&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; GoToSheet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;set&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v = ActiveDocument.Variables (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"vOpeningSheet"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v.GetContent.&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;String&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"1"&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"SH44"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;).Activate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v.GetContent.&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;String&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"2"&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"SH49"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;).Activate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;sub &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) The hyperlink code is:&lt;/P&gt;&lt;P&gt;&lt;A href="http://usa-qvs1/qvplugin/opendoc.htm?document=QualityManagement.qvw?vOpeningSheet=2"&gt;http://QVServer/qvplugin/opendoc.htm?document=YourDocument.qvw?vOpeningSheet=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This opens the plugin, opens YourDocument.qvw and send a value to the variable vOpeningSheet. The OnOpen is then triggered with the variable to open the document to the sheet set up in the Macro above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope This Helps,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 17:09:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-13T17:09:03Z</dc:date>
    <item>
      <title>Open other QVW and active a sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347372#M573446</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 have two QVW files: QV1 and QV2. QV2 has 2 tabs.&lt;/P&gt;&lt;P&gt;i need to place two buttons in QV1.&lt;/P&gt;&lt;P&gt;when Button 1 clicked i want to open QV2 and activate Tab1.&lt;/P&gt;&lt;P&gt;but when Button 2 clicked i have to open QV2&amp;nbsp; and activate Tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is to activate a tab in QV2.&lt;/P&gt;&lt;P&gt;i tested a disconnected field with Tab Names or Codes and make a selection on this field,&lt;/P&gt;&lt;P&gt;then passing the state with "transfer state" option of "open qlikview document" action , and a trigger on this field in QV2.&lt;/P&gt;&lt;P&gt;when i click buttons, selection is made and transfers to QV2, but trigger dosn't run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 09:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347372#M573446</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-07-12T09:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Open other QVW and active a sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347373#M573447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;file 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;make a variable &lt;/P&gt;&lt;P&gt;button 1 - variable =1&lt;/P&gt;&lt;P&gt;button 2 - variable =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;macro&lt;/P&gt;&lt;P&gt;- on button 1 and 2 - save the variable to file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;file 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;make a variable&lt;/P&gt;&lt;P&gt;on open run macro - load variable from file&lt;/P&gt;&lt;P&gt;on open activate sheet (using variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've got no time today to check it but if you won't get it till tomorrow i'll figure it out:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 16:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347373#M573447</guid>
      <dc:creator />
      <dc:date>2012-07-13T16:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Open other QVW and active a sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347374#M573448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you (or not).&amp;nbsp; We have an excel file that has a hyperlink that opens the IE Plugin, opens a particular document and opens to a specific sheet based on a variable.&amp;nbsp; Heres how we implemented it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In the QV document we created a variable vOpeningSheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In the Document Event Trigger we call a Macro to run OnOpen. The Code is&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;sub&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; GoToSheet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;set&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v = ActiveDocument.Variables (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"vOpeningSheet"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v.GetContent.&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;String&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"1"&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"SH44"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;).Activate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; v.GetContent.&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;String&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"2"&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"SH49"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;).Activate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;else&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;end&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;sub &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) The hyperlink code is:&lt;/P&gt;&lt;P&gt;&lt;A href="http://usa-qvs1/qvplugin/opendoc.htm?document=QualityManagement.qvw?vOpeningSheet=2"&gt;http://QVServer/qvplugin/opendoc.htm?document=YourDocument.qvw?vOpeningSheet=2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This opens the plugin, opens YourDocument.qvw and send a value to the variable vOpeningSheet. The OnOpen is then triggered with the variable to open the document to the sheet set up in the Macro above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope This Helps,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 17:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347374#M573448</guid>
      <dc:creator />
      <dc:date>2012-07-13T17:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Open other QVW and active a sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347375#M573449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/35645"&gt;PariPari&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/43951"&gt;Azimabadi&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain the below functionality. I got the same requirement as below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;file 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;make a variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;button 1 - variable =1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;button 2 - variable =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;macro&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- on button 1 and 2 - save the variable to file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;file 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;make a variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;on open run macro - load variable from file&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;on open activate sheet (using variable)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 12:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-other-QVW-and-active-a-sheet/m-p/347375#M573449</guid>
      <dc:creator>manideep78</dc:creator>
      <dc:date>2015-07-28T12:41:27Z</dc:date>
    </item>
  </channel>
</rss>

