<?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 straight/PIVOT to PPT problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090607#M640199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Sachin!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You should try this code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;sub ppt&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;set objPPT = CreateObject("PowerPoint.Application")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.Visible = True&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set objPresentation = objPPT.Presentations.Add&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;For j=1 To 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp; Set PPSlide = objPresentation.Slides.Add(1,12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;ActiveDocument.Sheets("SH01").Activate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set obj = ActiveDocument.GetSheetObject("CH03")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPresentation.Slides(1).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;obj.CopyTableToClipboard true&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set obj = ActiveDocument.GetSheetObject("CH04")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPresentation.Slides(2).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;obj.CopyTableToClipboard true&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;End sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I found out you don't need the With PPSlide to do Paste Source Formatting since it will paste it in you active slide. So you want to choose the slide you want to paste it on with the statement:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;objPresentation.Slides(1).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 20:06:06 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2016-02-24T20:06:06Z</dc:date>
    <item>
      <title>Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090602#M640194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing some prob in pasting straight/pivot to ppt to a specific slideno, I&amp;nbsp; am using code as below ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ppt&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; ActiveDocument.Sheets("SH01").Activate&lt;/P&gt;&lt;P&gt; Set obj = ActiveDocument.GetSheetObject("CH03")&lt;/P&gt;&lt;P&gt; Set PPSlide = objPresentation.Slides.Add(1,obj.GetObjectType)&amp;nbsp; &lt;/P&gt;&lt;P&gt; obj.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt; With PPSlide&lt;/P&gt;&lt;P&gt; objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/P&gt;&lt;P&gt; End With&lt;/P&gt;&lt;P&gt; Set obj = ActiveDocument.GetSheetObject("CH04")&lt;/P&gt;&lt;P&gt; Set PPSlide = objPresentation.Slides.Add(2,obj.GetObjectType)&amp;nbsp; &lt;/P&gt;&lt;P&gt; obj.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt; With PPSlide&lt;/P&gt;&lt;P&gt; objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/P&gt;&lt;P&gt; End With&lt;/P&gt;&lt;P&gt;&amp;nbsp; End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this code table always copies on first slide of the PPT and doesn't respect the .left and top Position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any body had encountered the same issue. Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 06:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090602#M640194</guid>
      <dc:creator>sachingodhania</dc:creator>
      <dc:date>2016-02-23T06:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090603#M640195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4870"&gt;Useful Qlikview Macros&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 07:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090603#M640195</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-23T07:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090604#M640196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through this link. The issue is I am using copytabletoclipboard and its pasting on slide1 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 07:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090604#M640196</guid>
      <dc:creator>sachingodhania</dc:creator>
      <dc:date>2016-02-23T07:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090605#M640197</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;Check with this code,&lt;/P&gt;&lt;P&gt;Are you exporting two objects or what's the issue can you elaborate!!&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14562183138235452 jive_text_macro" jivemacro_uid="_14562183138235452"&gt;
&lt;P&gt;Sub ExportPPT&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set objPPT = CreateObject("PowerPoint.Application")&amp;nbsp; &lt;/P&gt;
&lt;P&gt;objPPT.Visible = True&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set objPresentation = objPPT.Presentations.open("YourPath\ppt.pptx")'file Path&lt;/P&gt;
&lt;P&gt;Set PPSlide = objPresentation.Slides.Add(1,12)&amp;nbsp; &lt;/P&gt;
&lt;P&gt;ActiveDocument.GetSheetObject("CH02").CopyBitmapToClipboard&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes.Paste&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Top = 150 'This sets the top location of the image&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Left = 15 'This sets the left location&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Width = 240&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Height = 250&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set PPSlide = objPresentation.Slides.Add(1,12)&amp;nbsp; &lt;/P&gt;
&lt;P&gt;ActiveDocument.GetSheetObject("CH02").CopyBitmapToClipboard&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes.Paste&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Top = 150 'This sets the top location of the image&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Left = 15 'This sets the left location&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Width = 100&amp;nbsp; &lt;/P&gt;
&lt;P&gt;PPSlide.Shapes(PPSlide.Shapes.Count).Height = 200&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set PPSlide = Nothing&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set PPPres = Nothing&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Set PPApp = Nothing&amp;nbsp; &lt;/P&gt;
&lt;P&gt;End Sub&amp;nbsp; &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090605#M640197</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-23T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090606#M640198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hirish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for code.&lt;/P&gt;&lt;P&gt;I need to user obj.CopyTableToClipboard instead of CopyBitmapToClipboard&amp;nbsp;&amp;nbsp;&amp;nbsp; in order to copy table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090606#M640198</guid>
      <dc:creator>sachingodhania</dc:creator>
      <dc:date>2016-02-23T09:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090607#M640199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Sachin!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You should try this code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;sub ppt&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;set objPPT = CreateObject("PowerPoint.Application")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.Visible = True&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set objPresentation = objPPT.Presentations.Add&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;For j=1 To 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp; Set PPSlide = objPresentation.Slides.Add(1,12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;ActiveDocument.Sheets("SH01").Activate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set obj = ActiveDocument.GetSheetObject("CH03")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPresentation.Slides(1).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;obj.CopyTableToClipboard true&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Set obj = ActiveDocument.GetSheetObject("CH04")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPresentation.Slides(2).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;obj.CopyTableToClipboard true&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objPPT.CommandBars.ExecuteMso ("PasteSourceFormatting")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;End sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I found out you don't need the With PPSlide to do Paste Source Formatting since it will paste it in you active slide. So you want to choose the slide you want to paste it on with the statement:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;objPresentation.Slides(1).Select&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 20:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090607#M640199</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2016-02-24T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export straight/PIVOT to PPT problem</title>
      <link>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090608#M640201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremiah ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That code pastes exactly on the slide that i want to . Thanks a lot !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On more thing if you can help is I want to make column of table with to content and set font size to 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the position is working fine in image but for table is not pasting at given co-ordinates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 02:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-straight-PIVOT-to-PPT-problem/m-p/1090608#M640201</guid>
      <dc:creator>sachingodhania</dc:creator>
      <dc:date>2016-02-25T02:44:14Z</dc:date>
    </item>
  </channel>
</rss>

