<?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 Adding functionality to macro for Excel export in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-functionality-to-macro-for-Excel-export/m-p/766106#M272257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to export charts and tables to Excel with the macro provided in this article:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/&lt;/A&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14176008156047532 jive_text_macro jive_macro_code" jivemacro_uid="_14176008156047532"&gt;
&lt;P&gt;'// ****************************************************************&lt;/P&gt;
&lt;P&gt;'// Export of multiple objects in different formats (data &amp;amp; image)&lt;/P&gt;
&lt;P&gt;'// In one case (sheet "Sales Overview") two objects are placed on&lt;/P&gt;
&lt;P&gt;'// one sheet.&lt;/P&gt;
&lt;P&gt;'// ****************************************************************&lt;/P&gt;
&lt;P&gt;Dim aryExport(4,3)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;aryExport(0,0) = "objSalesPerRegion"&lt;/P&gt;
&lt;P&gt;aryExport(0,1) = "Sales Overview"&lt;/P&gt;
&lt;P&gt;aryExport(0,2) = "A1"&lt;/P&gt;
&lt;P&gt;aryExport(0,3) = "image"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro works nicely, but I would like to also grab or set the &lt;STRONG&gt;caption&lt;/STRONG&gt; of each object for the export so that I can place it above each chart in the Excel document.&lt;/P&gt;&lt;P&gt;I wouldn't mind setting it manually but of course it would be nicer to get the text directly from the caption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I also use a text object and write it in a cell in Excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I need to modify above macro to include this functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 10:08:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-03T10:08:46Z</dc:date>
    <item>
      <title>Adding functionality to macro for Excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-functionality-to-macro-for-Excel-export/m-p/766106#M272257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to export charts and tables to Excel with the macro provided in this article:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/" title="http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/"&gt;http://www.qlikblog.at/971/qliktip-32-exporting-multiple-objects-single-excel-document/&lt;/A&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14176008156047532 jive_text_macro jive_macro_code" jivemacro_uid="_14176008156047532"&gt;
&lt;P&gt;'// ****************************************************************&lt;/P&gt;
&lt;P&gt;'// Export of multiple objects in different formats (data &amp;amp; image)&lt;/P&gt;
&lt;P&gt;'// In one case (sheet "Sales Overview") two objects are placed on&lt;/P&gt;
&lt;P&gt;'// one sheet.&lt;/P&gt;
&lt;P&gt;'// ****************************************************************&lt;/P&gt;
&lt;P&gt;Dim aryExport(4,3)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;aryExport(0,0) = "objSalesPerRegion"&lt;/P&gt;
&lt;P&gt;aryExport(0,1) = "Sales Overview"&lt;/P&gt;
&lt;P&gt;aryExport(0,2) = "A1"&lt;/P&gt;
&lt;P&gt;aryExport(0,3) = "image"&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro works nicely, but I would like to also grab or set the &lt;STRONG&gt;caption&lt;/STRONG&gt; of each object for the export so that I can place it above each chart in the Excel document.&lt;/P&gt;&lt;P&gt;I wouldn't mind setting it manually but of course it would be nicer to get the text directly from the caption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I also use a text object and write it in a cell in Excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I need to modify above macro to include this functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 10:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-functionality-to-macro-for-Excel-export/m-p/766106#M272257</guid>
      <dc:creator />
      <dc:date>2014-12-03T10:08:46Z</dc:date>
    </item>
  </channel>
</rss>

