<?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 to PPT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055646#M936144</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;BR /&gt;Try this Macro,&lt;/P&gt;&lt;P&gt;Changes to be done your object id's,There mentioned in Comments check it,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14557333785758490 jive_text_macro" jivemacro_uid="_14557333785758490" modifiedtitle="true"&gt;
&lt;P&gt;Sub ppt&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'An array with the objects you want to export to powerpoint&lt;/P&gt;
&lt;P&gt;Dim myArray(4)&lt;/P&gt;
&lt;P&gt;myArray(0) = "CH01"&lt;/P&gt;
&lt;P&gt;myArray(1) = "CH02"&lt;/P&gt;
&lt;P&gt;myArray(2) = "CH03"&lt;/P&gt;
&lt;P&gt;myArray(3) = "CH04"&lt;/P&gt;
&lt;P&gt;myArray(4) = "CH05"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Create ppt object&lt;/P&gt;
&lt;P&gt;Set objPPT = CreateObject("PowerPoint.Application")&lt;/P&gt;
&lt;P&gt;objPPT.Visible = True&lt;/P&gt;
&lt;P&gt;Set objPresentation = objPPT.Presentations.Add&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Apply a template if you want one&lt;/P&gt;
&lt;P&gt;'objPresentation.ApplyTemplate _&lt;/P&gt;
&lt;P&gt;&amp;nbsp; '&amp;nbsp; ("C:\mytemplate.potx")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'For each object in the array create a new slide and paste it.&lt;/P&gt;
&lt;P&gt;For each item in myArray&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set PPSlide = objPresentation.Slides.Add(1,11)&lt;/P&gt;
&lt;P&gt;ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'PPSlide.Shapes.Paste&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;with PPSlide.Shapes.Paste&lt;/P&gt;
&lt;P&gt;&amp;nbsp; .Width=448&lt;/P&gt;
&lt;P&gt;&amp;nbsp; .Height=288&lt;/P&gt;
&lt;P&gt;end with&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Clean up&lt;/P&gt;
&lt;P&gt;Set PPSlide = Nothing&lt;/P&gt;
&lt;P&gt;Set PPPres = Nothing&lt;/P&gt;
&lt;P&gt;Set PPApp = Nothing&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else,if you want run your macro code ,Can you tell what is exact error your seeing when your running the macro export!&lt;/P&gt;&lt;P&gt;post sample if possible,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 18:24:56 GMT</pubDate>
    <dc:creator>HirisH_V7</dc:creator>
    <dc:date>2016-02-17T18:24:56Z</dc:date>
    <item>
      <title>Export to PPT</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055644#M936142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very excited to create a ppt presentation that holds most of my qlikview charts at a touch of a button. However, I am facing difficulties exporting charts from various sheets. It is easiest to export data from one sheet ( the active sheet having the export button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone point out my mistake here?&lt;/P&gt;&lt;P&gt;My macro is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExportPPT&lt;BR /&gt; Set objPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt; objPPT.Visible = True&lt;BR /&gt; Set objPresentation = objPPT.Presentations.Add&lt;BR /&gt; Set PPSlide = objPresentation.Slides.Add(1,11)&lt;BR /&gt; set up = ActiveDocument.GetApplication.GetUserPreferences &lt;BR /&gt; up.ChartUseCapNBorder = True&lt;BR /&gt; ActiveDocument.GetApplication.SetUserPreferences up&lt;BR /&gt; with objPresentation.Slides(1).Shapes(1)&lt;BR /&gt; .TextFrame.TextRange = "PURCHASE HISTORY" 'gives a heading for the slide&lt;BR /&gt; end with &lt;BR /&gt; ActiveDocument.Sheets("SH05").Activate &lt;BR /&gt; ActiveDocument.GetSheetObject("CH40").CopyBitmapToClipboard&lt;BR /&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML) 'slide 1&lt;BR /&gt; .Left = 100 'size of the image on slide&lt;BR /&gt; .top = 100&lt;BR /&gt; .width=500&lt;BR /&gt; .height=200&lt;BR /&gt; end with &lt;BR /&gt; ActiveDocument.Sheets("SH05").Activate &lt;BR /&gt; ActiveDocument.GetSheetObject("CH66").CopyBitmapToClipboard&lt;BR /&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML) 'slide 1&lt;BR /&gt; .Left = 100 'size of the image on slide&lt;BR /&gt; .top = 300&lt;BR /&gt; .width=500&lt;BR /&gt; .height=200&lt;BR /&gt; end with &lt;BR /&gt; ActiveDocument.GetSheetObject("TX08").CopyBitmapToClipboard&lt;BR /&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML) 'slide 1&lt;BR /&gt; .Left = 15 'size of the image on slide&lt;BR /&gt; .top = 10&lt;BR /&gt; .width=25&lt;BR /&gt; .height=35&lt;BR /&gt; end with&lt;BR /&gt; Set PPSlide = objPresentation.Slides.Add(2,11)&lt;BR /&gt; ActiveDocument.Sheets("SH07").Activate &lt;BR /&gt; set up = ActiveDocument.GetApplication.GetUserPreferences &lt;BR /&gt; up.ChartUseCapNBorder = True&lt;BR /&gt; ActiveDocument.GetApplication.SetUserPreferences up&lt;BR /&gt; with objPresentation.Slides(2).Shapes(1)&lt;BR /&gt; .TextFrame.TextRange = "TOP PRODUCTS PURCHASED &amp;amp; SERVICED" 'gives a heading for the slide&lt;BR /&gt; end with &lt;BR /&gt; ActiveDocument.Sheets("SH07").Activate &lt;BR /&gt; ActiveDocument.GetSheetObject("CH67").CopyBitmapToClipboard&lt;BR /&gt; with objPresentation.Slides(2).Shapes.Paste ' slide 2&lt;BR /&gt; .Left = 25 'size of the image on slide&lt;BR /&gt; .top = 100&lt;BR /&gt; .width=500&lt;BR /&gt; .height=200&lt;BR /&gt; end with &lt;/P&gt;&lt;P&gt; ActiveDocument.GetSheetObject("TX08").CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt; with objPresentation.Slides(2).Shapes.PasteSpecial(PasteHTML) 'slide 2&lt;/P&gt;&lt;P&gt; .Left = 15 'size of the image on slide&lt;/P&gt;&lt;P&gt; .top = 10&lt;/P&gt;&lt;P&gt; .width=25&lt;/P&gt;&lt;P&gt; .height=35&lt;/P&gt;&lt;P&gt; end with&lt;/P&gt;&lt;P&gt; Set PPSlide = Nothing&lt;BR /&gt; Set PPPres = Nothing&lt;BR /&gt; End sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055644#M936142</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2016-02-17T15:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export to PPT</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055645#M936143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post QlikView&amp;nbsp; Application with dummy data set ?. Script looks correct . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 17:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055645#M936143</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2016-02-17T17:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export to PPT</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055646#M936144</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;BR /&gt;Try this Macro,&lt;/P&gt;&lt;P&gt;Changes to be done your object id's,There mentioned in Comments check it,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14557333785758490 jive_text_macro" jivemacro_uid="_14557333785758490" modifiedtitle="true"&gt;
&lt;P&gt;Sub ppt&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'An array with the objects you want to export to powerpoint&lt;/P&gt;
&lt;P&gt;Dim myArray(4)&lt;/P&gt;
&lt;P&gt;myArray(0) = "CH01"&lt;/P&gt;
&lt;P&gt;myArray(1) = "CH02"&lt;/P&gt;
&lt;P&gt;myArray(2) = "CH03"&lt;/P&gt;
&lt;P&gt;myArray(3) = "CH04"&lt;/P&gt;
&lt;P&gt;myArray(4) = "CH05"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Create ppt object&lt;/P&gt;
&lt;P&gt;Set objPPT = CreateObject("PowerPoint.Application")&lt;/P&gt;
&lt;P&gt;objPPT.Visible = True&lt;/P&gt;
&lt;P&gt;Set objPresentation = objPPT.Presentations.Add&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Apply a template if you want one&lt;/P&gt;
&lt;P&gt;'objPresentation.ApplyTemplate _&lt;/P&gt;
&lt;P&gt;&amp;nbsp; '&amp;nbsp; ("C:\mytemplate.potx")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'For each object in the array create a new slide and paste it.&lt;/P&gt;
&lt;P&gt;For each item in myArray&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Set PPSlide = objPresentation.Slides.Add(1,11)&lt;/P&gt;
&lt;P&gt;ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'PPSlide.Shapes.Paste&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;with PPSlide.Shapes.Paste&lt;/P&gt;
&lt;P&gt;&amp;nbsp; .Width=448&lt;/P&gt;
&lt;P&gt;&amp;nbsp; .Height=288&lt;/P&gt;
&lt;P&gt;end with&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Clean up&lt;/P&gt;
&lt;P&gt;Set PPSlide = Nothing&lt;/P&gt;
&lt;P&gt;Set PPPres = Nothing&lt;/P&gt;
&lt;P&gt;Set PPApp = Nothing&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;End Sub&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else,if you want run your macro code ,Can you tell what is exact error your seeing when your running the macro export!&lt;/P&gt;&lt;P&gt;post sample if possible,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 18:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055646#M936144</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-17T18:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Export to PPT</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055647#M936145</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 want to export maximum of 2 charts in one slide and also, name the slide. This is the macro I use. I am able to export the charts on the active tab but when charts are to be extracted from various tabs my ppt just freezes. No error message is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 13:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-PPT/m-p/1055647#M936145</guid>
      <dc:creator>snehamahaveer</dc:creator>
      <dc:date>2016-02-18T13:29:42Z</dc:date>
    </item>
  </channel>
</rss>

