<?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 How can I get the current sheet name in a variable ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238991#M89723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the QV API, look at the ISheetProperties Class. The following example is how to get to the name of the sheet.&lt;/P&gt;&lt;P&gt;set vSheet=ActiveDocument.GetSheetByID("SH03")&lt;BR /&gt;set sp=vSheet.GetProperties&lt;BR /&gt;set v = ActiveDocument.Variables("Variable1")&lt;BR /&gt;&lt;BR /&gt;v.SetContent sp.Name,true&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Then to assign it to a variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Oct 2010 17:40:00 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-10-15T17:40:00Z</dc:date>
    <item>
      <title>How can I get the current sheet name in a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238990#M89722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know there is a function called &lt;B&gt;GetActiveSheetId()&lt;/B&gt; that returns the current Id, but how about the current name?&lt;/P&gt;&lt;P&gt;Is there any trick to solve it?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 17:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238990#M89722</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-10-15T17:31:02Z</dc:date>
    </item>
    <item>
      <title>How can I get the current sheet name in a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238991#M89723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the QV API, look at the ISheetProperties Class. The following example is how to get to the name of the sheet.&lt;/P&gt;&lt;P&gt;set vSheet=ActiveDocument.GetSheetByID("SH03")&lt;BR /&gt;set sp=vSheet.GetProperties&lt;BR /&gt;set v = ActiveDocument.Variables("Variable1")&lt;BR /&gt;&lt;BR /&gt;v.SetContent sp.Name,true&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Then to assign it to a variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 17:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238991#M89723</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-15T17:40:00Z</dc:date>
    </item>
    <item>
      <title>How can I get the current sheet name in a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238992#M89724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Karl, but I want to avoid to do it in the macro script.&lt;/P&gt;&lt;P&gt;Is it possible to do it like a variable?&lt;/P&gt;&lt;P&gt;I mean, you can set a variable like v = GetActiveSheetId() and this would return the id of the variable. And I want exactly the same to get the Name of the sheet.&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;Many thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 17:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238992#M89724</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-10-15T17:45:41Z</dc:date>
    </item>
    <item>
      <title>How can I get the current sheet name in a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238993#M89725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that I know of. It would be much easier to do the reverse and put in the sheet name field a variable.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 17:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238993#M89725</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-15T17:52:29Z</dc:date>
    </item>
    <item>
      <title>How can I get the current sheet name in a variable ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238994#M89726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Karl. Many thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 17:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-get-the-current-sheet-name-in-a-variable/m-p/238994#M89726</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2010-10-15T17:57:04Z</dc:date>
    </item>
  </channel>
</rss>

