<?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: Show/Hide chart title via VB Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120248#M602509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Since &lt;A class="jive-link-external-small" href="http://community.qlik.com/blogs/qlikviewdesignblog/2014/04/28/macros-are-bad" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: arial, helvetica, sans-serif;"&gt;Macros are Bad&lt;/SPAN&gt;&lt;/A&gt;, I should suggest another method:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You could clone your chart and remove the caption on the close. Then you could use an action to show/hide the charts based on a variable or a field selection.&amp;nbsp; No macros required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2018 19:50:22 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2018-10-19T19:50:22Z</dc:date>
    <item>
      <title>Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120246#M602507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the need to show/hide the chart caption via macro.&lt;/P&gt;&lt;P&gt;The layout of the chart title is controlled by a check box (Show Caption) in Caption tab .&lt;/P&gt;&lt;P&gt;I have added a button to run a macro to check/uncheck this control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible VB sub routine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SUB ShowHide_TITLE&lt;BR /&gt; set chart = ActiveDocument.GetSheetObject("CH29")&lt;BR /&gt; &lt;BR /&gt; set Prop = chart.GetProperties&lt;BR /&gt;' ?????&amp;nbsp; Prop.???????=true&lt;BR /&gt; chart.SetProperties Prop&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;END&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SUB &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is there a way for achieving this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 10:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120246#M602507</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2018-10-19T10:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120247#M602508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from the API Guide:&lt;/P&gt;&lt;P&gt;set myobj = ActiveDocument.GetSheetObject("CO01")&lt;/P&gt;&lt;P&gt;prop = myobj.GetProperties&lt;/P&gt;&lt;P&gt;prop.Layout.Frame.ShowCaption = true&lt;/P&gt;&lt;P&gt;myobj.SetProperties prop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 19:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120247#M602508</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-19T19:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120248#M602509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Since &lt;A class="jive-link-external-small" href="http://community.qlik.com/blogs/qlikviewdesignblog/2014/04/28/macros-are-bad" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: arial, helvetica, sans-serif;"&gt;Macros are Bad&lt;/SPAN&gt;&lt;/A&gt;, I should suggest another method:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You could clone your chart and remove the caption on the close. Then you could use an action to show/hide the charts based on a variable or a field selection.&amp;nbsp; No macros required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 19:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120248#M602509</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-19T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120249#M602510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your support and prompt reply.&lt;/P&gt;&lt;P&gt;I'll use your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question, Where can I find the API Guide?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 10:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120249#M602510</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2018-10-22T10:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120250#M602512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial; font-size: 10.0pt; color: #575757;"&gt;If any of the replies solved your problem, please mark as Correct. If any were Helpful, please mark as Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 11:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120250#M602512</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-22T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120251#M602514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks for&amp;nbsp; the guide.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;the solution to use a variable to show or not the cloned table can be the right idea. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In order to the macro, I have used your code but It's not run.&lt;/P&gt;&lt;P&gt;I'm using a pivot tables.&lt;/P&gt;&lt;DIV class="tw-swapa"&gt;Y&lt;SPAN lang="en"&gt;ou say right about the macro (Macro are bad), but I have need to understand because the code is not right.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tw-swapa"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tw-swapa"&gt;&lt;DIV class="tw-swapa"&gt; Y&lt;SPAN lang="en"&gt;our help is always precious.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tw-swapa"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tw-swapa"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="tw-swapa"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;Fineas&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 16:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120251#M602514</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2018-10-22T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120252#M602515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code should work for a pivottable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set mybox = ActiveDocument.GetSheetObject("CH07")&lt;/P&gt;&lt;P&gt;set fr = mybox.GetFrameDef&lt;/P&gt;&lt;P&gt;fr.ShowCaption = true&lt;/P&gt;&lt;P&gt;mybox.SetFrameDef fr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 16:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120252#M602515</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-22T16:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show/Hide chart title via VB Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120253#M602516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tkank you,&lt;/P&gt;&lt;P&gt;now the code is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Fineas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 17:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Hide-chart-title-via-VB-Macro/m-p/120253#M602516</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2018-10-22T17:02:27Z</dc:date>
    </item>
  </channel>
</rss>

