<?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 Control Chart Property in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-Control-Chart-Property/m-p/294195#M109155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a macro to Enable the Title Setting in the Chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I normally have the Windows Titlte Enabled, as it saves me space. So whenever I try to export it to Excel ( through a macro which i found in the &lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971&lt;/A&gt; ), the wiindows title is not getting exported to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am tring to use a macro to enable the Title only when the report is exported to Excel. To be more specific i have added the snapshot of the property i am trying to control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following code but it still is not working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sub EnableTitle&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Dim objSource&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Dim p&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Dim title&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;set objSource=ActiveDocument.GetSheetObject("CH102")&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;set p=objSource.GetProperties&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;p.Title = false&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;objSource.SetProperties p&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end Sub&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 14:36:05 GMT</pubDate>
    <dc:creator>qlik_venu</dc:creator>
    <dc:date>2011-12-12T14:36:05Z</dc:date>
    <item>
      <title>Macro to Control Chart Property</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-Control-Chart-Property/m-p/294195#M109155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a macro to Enable the Title Setting in the Chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I normally have the Windows Titlte Enabled, as it saves me space. So whenever I try to export it to Excel ( through a macro which i found in the &lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/#downloads_971&lt;/A&gt; ), the wiindows title is not getting exported to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am tring to use a macro to enable the Title only when the report is exported to Excel. To be more specific i have added the snapshot of the property i am trying to control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following code but it still is not working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sub EnableTitle&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Dim objSource&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Dim p&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Dim title&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;set objSource=ActiveDocument.GetSheetObject("CH102")&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;set p=objSource.GetProperties&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;p.Title = false&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;objSource.SetProperties p&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end Sub&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 14:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-Control-Chart-Property/m-p/294195#M109155</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2011-12-12T14:36:05Z</dc:date>
    </item>
  </channel>
</rss>

