<?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: Export text object together with each caption to PPT using Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251645#M518412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread for a very similar request:&lt;A href="https://community.qlik.com/thread/32726"&gt;Export to Excel&lt;/A&gt;‌. While the original poster requested excel, the issue with the caption is covered with the lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;chartCaption = tableToExport.GetCaption.Name.v &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to adapt the macro code to your own objects or charts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2016 16:36:04 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2016-12-30T16:36:04Z</dc:date>
    <item>
      <title>Export text object together with each caption to PPT using Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251644#M518411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to export captions of text objects to PPT using Macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I want to do.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147969" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147969_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a current result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147970" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147970_pastedImage_15.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below&amp;nbsp; VB Script. It works ok but No captions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExportPPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set objPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt;objPPT.Visible = True&lt;BR /&gt;Set objPresentation = objPPT.Presentations.Add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For i = 0 To ActiveDocument.NoOfSheets - 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set MySheet = ActiveDocument.GetSheet(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set PPSlide = objPresentation.Slides.Add(1,12)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.ActiveSheet.CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;ActiveDocument.GetSheetObject("TX01").CopyBitmapToClipboard&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objPPT.Visible = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPSlide.Shapes.Paste()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set PPSlide = Nothing&lt;BR /&gt;Set PPPres = Nothing&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiyomi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 05:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251644#M518411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-30T05:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export text object together with each caption to PPT using Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251645#M518412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread for a very similar request:&lt;A href="https://community.qlik.com/thread/32726"&gt;Export to Excel&lt;/A&gt;‌. While the original poster requested excel, the issue with the caption is covered with the lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;chartCaption = tableToExport.GetCaption.Name.v &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to adapt the macro code to your own objects or charts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 16:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251645#M518412</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2016-12-30T16:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export text object together with each caption to PPT using Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251646#M518413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this script only for Excel?&lt;/P&gt;&lt;P&gt;I tried it but not succeeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp; 'Get the chart we want to export&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set tableToExport = ActiveDocument.GetSheetObject("CH01")&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set chartProperties = tableToExport.GetProperties&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableToExport.CopyTableToClipboard true&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the caption&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartCaption = tableToExport.GetCaption.Name.v&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox chartCaption&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Where should I change this script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kiyomi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 07:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251646#M518413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T07:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export text object together with each caption to PPT using Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251647#M518414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the code as I mentioned above is only for Excel (see the name of the post and the code) and you will need to recreate it for PowerPoint. I cannot tell you from memory how it will look like but I'm sure there are some powerpoint examples in the Community you can search for and use along with mine to set up yours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 11:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-text-object-together-with-each-caption-to-PPT-using-Macro/m-p/1251647#M518414</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-01-04T11:00:22Z</dc:date>
    </item>
  </channel>
</rss>

