<?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 Chart title (caption) export to XL not working  with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222479#M75152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="CommonCommentContent ForumPost" sizcache="10" sizset="7" style="width: 99.87%; height: 382px; overflow: hidden;"&gt;&lt;DIV class="ForumPostTitle ForumPostTitleInner"&gt;&lt;/DIV&gt;&lt;DIV style="clear: both;"&gt;&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I've found this part of macro on this forum to export title caption to excel :&lt;/P&gt;&lt;P&gt;....................&lt;/P&gt;&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CHxxx")&lt;BR /&gt;set p = chart.GetProperties&lt;BR /&gt;ExcelDoc.Sheets(1).cells(1,1).Value = p.GraphLayout.WindowTitle.v&lt;/P&gt;&lt;P&gt;.................&lt;/P&gt;&lt;P&gt;It works fine for charts caption but only if it is a text title like &lt;EM&gt;"Investment "&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Once I try to include a calculated title, I encouter an "unexpected error" from the macro.&lt;/P&gt;&lt;P&gt;NB : my expression is working very well as caption title:&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;='Investment :' &amp;amp; date(&lt;B&gt;&lt;I&gt;v2date1&lt;/I&gt;&lt;/B&gt;) &amp;amp; ' to ' &amp;amp; date(&lt;B&gt;&lt;I&gt;v2date2&lt;/I&gt;&lt;/B&gt;)&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Where is my problem ?&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Somebody to give me an idea to correct this portion of VBscript ?&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentArea Normal " sizcache="10" sizset="7"&gt;&lt;DIV class="CommonCommentArrow"&gt;&lt;DIV class="r1"&gt;&lt;/DIV&gt;&lt;DIV class="r2"&gt;&lt;/DIV&gt;&lt;DIV class="r3"&gt;&lt;/DIV&gt;&lt;DIV class="r4"&gt;&lt;/DIV&gt;&lt;DIV class="r5"&gt;&lt;/DIV&gt;&lt;DIV class="r6"&gt;&lt;/DIV&gt;&lt;DIV class="r7"&gt;&lt;/DIV&gt;&lt;DIV class="r8"&gt;&lt;/DIV&gt;&lt;DIV class="r9"&gt;&lt;/DIV&gt;&lt;DIV class="r10"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentBubble" sizcache="10" sizset="7"&gt;&lt;DIV class="CommonCommentBubbleRoundTop"&gt;&lt;DIV class="r1"&gt;&lt;/DIV&gt;&lt;DIV class="r2"&gt;&lt;/DIV&gt;&lt;DIV class="r3"&gt;&lt;/DIV&gt;&lt;DIV class="r4"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentContent ForumPost" sizcache="10" sizset="7"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 20:59:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-19T20:59:45Z</dc:date>
    <item>
      <title>Chart title (caption) export to XL not working  with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222479#M75152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="CommonCommentContent ForumPost" sizcache="10" sizset="7" style="width: 99.87%; height: 382px; overflow: hidden;"&gt;&lt;DIV class="ForumPostTitle ForumPostTitleInner"&gt;&lt;/DIV&gt;&lt;DIV style="clear: both;"&gt;&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I've found this part of macro on this forum to export title caption to excel :&lt;/P&gt;&lt;P&gt;....................&lt;/P&gt;&lt;P&gt;set chart=ActiveDocument.GetSheetObject("CHxxx")&lt;BR /&gt;set p = chart.GetProperties&lt;BR /&gt;ExcelDoc.Sheets(1).cells(1,1).Value = p.GraphLayout.WindowTitle.v&lt;/P&gt;&lt;P&gt;.................&lt;/P&gt;&lt;P&gt;It works fine for charts caption but only if it is a text title like &lt;EM&gt;"Investment "&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Once I try to include a calculated title, I encouter an "unexpected error" from the macro.&lt;/P&gt;&lt;P&gt;NB : my expression is working very well as caption title:&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;='Investment :' &amp;amp; date(&lt;B&gt;&lt;I&gt;v2date1&lt;/I&gt;&lt;/B&gt;) &amp;amp; ' to ' &amp;amp; date(&lt;B&gt;&lt;I&gt;v2date2&lt;/I&gt;&lt;/B&gt;)&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Where is my problem ?&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none;"&gt;Somebody to give me an idea to correct this portion of VBscript ?&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentArea Normal " sizcache="10" sizset="7"&gt;&lt;DIV class="CommonCommentArrow"&gt;&lt;DIV class="r1"&gt;&lt;/DIV&gt;&lt;DIV class="r2"&gt;&lt;/DIV&gt;&lt;DIV class="r3"&gt;&lt;/DIV&gt;&lt;DIV class="r4"&gt;&lt;/DIV&gt;&lt;DIV class="r5"&gt;&lt;/DIV&gt;&lt;DIV class="r6"&gt;&lt;/DIV&gt;&lt;DIV class="r7"&gt;&lt;/DIV&gt;&lt;DIV class="r8"&gt;&lt;/DIV&gt;&lt;DIV class="r9"&gt;&lt;/DIV&gt;&lt;DIV class="r10"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentBubble" sizcache="10" sizset="7"&gt;&lt;DIV class="CommonCommentBubbleRoundTop"&gt;&lt;DIV class="r1"&gt;&lt;/DIV&gt;&lt;DIV class="r2"&gt;&lt;/DIV&gt;&lt;DIV class="r3"&gt;&lt;/DIV&gt;&lt;DIV class="r4"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CommonCommentContent ForumPost" sizcache="10" sizset="7"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 20:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222479#M75152</guid>
      <dc:creator />
      <dc:date>2011-04-19T20:59:45Z</dc:date>
    </item>
    <item>
      <title>Chart title (caption) export to XL not working  with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222480#M75153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can you post the QV document with sample data? This will be very helpful to understand the issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 23:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222480#M75153</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-19T23:35:39Z</dc:date>
    </item>
    <item>
      <title>Chart title (caption) export to XL not working  with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222481#M75154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;here is a simple example with two buttons.&lt;/P&gt;&lt;P&gt;The second macro stop when it tries to paste the caption into XL with the expression.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 14:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-title-caption-export-to-XL-not-working-with-expression/m-p/222481#M75154</guid>
      <dc:creator />
      <dc:date>2011-04-20T14:14:00Z</dc:date>
    </item>
  </channel>
</rss>

