<?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 loop through charts using macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loop-through-charts-using-macro/m-p/732334#M262333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I'm using QlikView 11.2&lt;/P&gt;&lt;P&gt;I want to loop through all available charts of the active sheet&lt;/P&gt;&lt;P&gt;I'm writing the following macro&lt;/P&gt;&lt;P&gt;Sub GetCharts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objects = ActiveDocument.ActiveSheet.GetSheetObjects &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = lBound(Objects) To uBound(Objects) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If obj.GetObjectType = 11&amp;nbsp; Then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgbox("Chart: " &amp;amp; obj.GetObjectId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End If &lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;however when I call this macro from a button the Edit Module opens and nothing happens&lt;/P&gt;&lt;P&gt;please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2014 08:20:48 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2014-06-24T08:20:48Z</dc:date>
    <item>
      <title>loop through charts using macro</title>
      <link>https://community.qlik.com/t5/QlikView/loop-through-charts-using-macro/m-p/732334#M262333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I'm using QlikView 11.2&lt;/P&gt;&lt;P&gt;I want to loop through all available charts of the active sheet&lt;/P&gt;&lt;P&gt;I'm writing the following macro&lt;/P&gt;&lt;P&gt;Sub GetCharts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objects = ActiveDocument.ActiveSheet.GetSheetObjects &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = lBound(Objects) To uBound(Objects) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If obj.GetObjectType = 11&amp;nbsp; Then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;msgbox("Chart: " &amp;amp; obj.GetObjectId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End If &lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;however when I call this macro from a button the Edit Module opens and nothing happens&lt;/P&gt;&lt;P&gt;please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 08:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-through-charts-using-macro/m-p/732334#M262333</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-06-24T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: loop through charts using macro</title>
      <link>https://community.qlik.com/t5/QlikView/loop-through-charts-using-macro/m-p/732335#M262334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this discussion for some example code that loops through sheet objects: &lt;A href="https://community.qlik.com/message/279876"&gt;Re: Load help text of objects&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 09:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-through-charts-using-macro/m-p/732335#M262334</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-24T09:07:57Z</dc:date>
    </item>
  </channel>
</rss>

