<?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 GetSheetObjects throws error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetSheetObjects-throws-error/m-p/369796#M137494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using QV Version 10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get all charts in a sheet, inside a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set Objects = ActiveDocument.getSheet(0).GetSheetObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.GetSheetObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both is not working.. I am getting an error - "Object Required"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;KRS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 07:23:30 GMT</pubDate>
    <dc:creator>krishnaroopa</dc:creator>
    <dc:date>2012-06-27T07:23:30Z</dc:date>
    <item>
      <title>GetSheetObjects throws error</title>
      <link>https://community.qlik.com/t5/QlikView/GetSheetObjects-throws-error/m-p/369796#M137494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using QV Version 10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get all charts in a sheet, inside a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set Objects = ActiveDocument.getSheet(0).GetSheetObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.GetSheetObjects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both is not working.. I am getting an error - "Object Required"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;KRS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 07:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSheetObjects-throws-error/m-p/369796#M137494</guid>
      <dc:creator>krishnaroopa</dc:creator>
      <dc:date>2012-06-27T07:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: GetSheetObjects throws error</title>
      <link>https://community.qlik.com/t5/QlikView/GetSheetObjects-throws-error/m-p/369797#M137495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the info you want by utilizing GetSheetObjects and GetObjectType (see the API Guide for more detail).&amp;nbsp; Here is an example that will display each chart Id in a message box:&amp;nbsp;&amp;nbsp; Sub GetCharts&amp;nbsp; Objects = ActiveDocument.ActiveSheet.GetSheetObjects&amp;nbsp; For i = lBound(Objects) To uBound(Objects)&amp;nbsp; If obj.GetObjectType = 11 'Charts Then&amp;nbsp; msgbox("Chart: " &amp;amp; obj.GetObjectId)&amp;nbsp; End If&amp;nbsp; next End Sub&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Once you have the object Id of the chart, you will use GetProperties. Then you can manipulate the properties and use SetProperties.&amp;nbsp; Regards. siva sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 07:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSheetObjects-throws-error/m-p/369797#M137495</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2012-06-27T07:37:03Z</dc:date>
    </item>
  </channel>
</rss>

