<?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 Embed excel in ppt via QV macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023233#M933821</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 trying to embed Excel file in the PPT via QV macro but in vain. Below is the macro ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub WKSEmbedInPPT()&lt;BR /&gt; &lt;BR /&gt; Dim objAppPPT 'PowerPoint.Application&lt;BR /&gt; Dim objPPTPres 'PowerPoint.Presentation&lt;BR /&gt; Dim objPPTSlide 'PowerPoint.Slide&lt;BR /&gt; Dim objPPTShape 'PowerPoint.Shape&lt;BR /&gt; &lt;BR /&gt; Dim wbk&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; Set objAppPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt; objAppPPT.Visible = 1 'msoCTrue&lt;BR /&gt; Set objPPTPres = objAppPPT.Presentations.Add&lt;BR /&gt; objAppPPT.ActiveWindow.ViewType = 1&lt;BR /&gt; objAppPPT.ActiveWindow.View.GotoSlide Index=objPPTPres.Slides.Add(1, 12).SlideIndex&lt;BR /&gt; Set objPPTShape = objPPTPres.Slides(1).Shapes.AddOLEObject(Left=100, Top=100,Width=200, Height=300,ClassName="Excel.Sheet", , DisplayAsIcon=True) 'OR Use , Filename:="E:\Documents and Settings\User\My Documents\abc.xlsm" instead of ClassName but not both&lt;BR /&gt; With objPPTShape&lt;BR /&gt; 'Code Manipulations here if required on the Object&lt;BR /&gt; End With&lt;BR /&gt; Set objAppPPT = Nothing&lt;BR /&gt; Set objPPTPres = Nothing&lt;BR /&gt; Set objPPTShape = Nothing&lt;BR /&gt; Set objPPTSlide = Nothing&lt;BR /&gt; &lt;BR /&gt; End Sub&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Please let me know if some have done this sort of macro earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 05:00:30 GMT</pubDate>
    <dc:creator>sachingodhania</dc:creator>
    <dc:date>2016-02-25T05:00:30Z</dc:date>
    <item>
      <title>Embed excel in ppt via QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023233#M933821</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 trying to embed Excel file in the PPT via QV macro but in vain. Below is the macro ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub WKSEmbedInPPT()&lt;BR /&gt; &lt;BR /&gt; Dim objAppPPT 'PowerPoint.Application&lt;BR /&gt; Dim objPPTPres 'PowerPoint.Presentation&lt;BR /&gt; Dim objPPTSlide 'PowerPoint.Slide&lt;BR /&gt; Dim objPPTShape 'PowerPoint.Shape&lt;BR /&gt; &lt;BR /&gt; Dim wbk&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; Set objAppPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt; objAppPPT.Visible = 1 'msoCTrue&lt;BR /&gt; Set objPPTPres = objAppPPT.Presentations.Add&lt;BR /&gt; objAppPPT.ActiveWindow.ViewType = 1&lt;BR /&gt; objAppPPT.ActiveWindow.View.GotoSlide Index=objPPTPres.Slides.Add(1, 12).SlideIndex&lt;BR /&gt; Set objPPTShape = objPPTPres.Slides(1).Shapes.AddOLEObject(Left=100, Top=100,Width=200, Height=300,ClassName="Excel.Sheet", , DisplayAsIcon=True) 'OR Use , Filename:="E:\Documents and Settings\User\My Documents\abc.xlsm" instead of ClassName but not both&lt;BR /&gt; With objPPTShape&lt;BR /&gt; 'Code Manipulations here if required on the Object&lt;BR /&gt; End With&lt;BR /&gt; Set objAppPPT = Nothing&lt;BR /&gt; Set objPPTPres = Nothing&lt;BR /&gt; Set objPPTShape = Nothing&lt;BR /&gt; Set objPPTSlide = Nothing&lt;BR /&gt; &lt;BR /&gt; End Sub&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Please let me know if some have done this sort of macro earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 05:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023233#M933821</guid>
      <dc:creator>sachingodhania</dc:creator>
      <dc:date>2016-02-25T05:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Embed excel in ppt via QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023234#M933822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should look within the vbs/vba/office foren to these topic and build a routine from excel which worked - if you didn't find enough useful postings, the macro-recorder could be very helpful - and then you could convert it into a vbs-routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 10:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023234#M933822</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-26T10:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Embed excel in ppt via QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023235#M933823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem! Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub InsertOLEobject&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; filepath = "C:\Users\Admin\Desktop\.........xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Insert OLEObjects (Excel app&amp;amp;Icon) into PP sheet&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set PPApp = CreateObject("Powerpoint.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPApp.Presentations.Open "C:\Users\Admin\Desktop\.......pptx"&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set EL = PPApp.ActivePresentation.Slides("Slide328").Shapes.AddOLEObject(, , , , ,filepath, True, , ,"Title of Excel")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Change Position of OLEObject &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With EL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Top = 380&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Left = 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End with&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;For finding out the slideno there are several macros available! &lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2016 09:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Embed-excel-in-ppt-via-QV-macro/m-p/1023235#M933823</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-08-28T09:16:15Z</dc:date>
    </item>
  </channel>
</rss>

