Insert slide object into existing slide object, PowerPoint

K

Kim

In PowerPoint 2003, you can insert a slide object into another slide
object. I'm trying to figure out if this is possible to do in code and
if so how. Visual Basic or C# code is fine.

Thanks in Advance,
~Kim
 
S

Steve Rindsberg

In PowerPoint 2003, you can insert a slide object into another slide
object. I'm trying to figure out if this is possible to do in code and
if so how. Visual Basic or C# code is fine.

This works with PPT2003 and, I'm pretty sure, 2002.
It won't work with earlier versions, but a plain Paste might give you an OLE
object by default there.

With Application
' Assuming you have two presentations open
' Put a copy of slide 3 on the clipboard
.Presentations(2).Slides(3).Copy
' Paste it into Slide3 of presentation 1 as an OLE object
.Presentations(1).Slides(3).Shapes.PasteSpecial(ppPasteOLEObject)
' or as metafile or jpg or whatever works best for you
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top