determining if a ppt file has OLE embedded in it

  • Thread starter Thread starter Guest
  • Start date Start date
a little vba may find it

Sub findole()
Dim osld As Slide
Dim oshp As Shape
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoEmbeddedOLEObject Or oshp.Type = msoLinkedOLEObject Then
MsgBox ("OLE object on slide " _
& osld.SlideNumber)
End If
Next oshp
Next osld
End Sub

see also http://www.pptfaq.com/FAQ00033.htm
--

Did that answer the question / help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
http://www.technologytrish.co.uk/ppttipshome.html
 
Hello Julie,

If your presentation has an OLE object in it, it should be listed in the
Contents tab of the file Properties dialog:

1) File -> Properties
2) Switch to "Contents" tab
3) Look for any entries listed under the "Embedded OLE Servers" heading

If you have "Linked" OLE objects, they will be listed in the same list
under the "Links" heading

John Langhans [MSFT]
Supportability Program Manager
 
Thank you so much. Does that mean that some objects are just embedded while
others are embedded and also linked?
 
Thank you so much. Does that mean that some objects are just embedded while
others are embedded and also linked?

Somebody'll correct me if I'm off base but ... OLE objects are either linked OR
embedded. Not both.
"John Langhans [MSFT]" said:
Hello Julie,

If your presentation has an OLE object in it, it should be listed in the
Contents tab of the file Properties dialog:

1) File -> Properties
2) Switch to "Contents" tab
3) Look for any entries listed under the "Embedded OLE Servers" heading

If you have "Linked" OLE objects, they will be listed in the same list
under the "Links" heading

John Langhans [MSFT]
Supportability Program Manager
 
Steve Rindsberg said:
Somebody'll correct me if I'm off base but ... OLE objects are either
linked OR
embedded. Not both.

Hmmm, you just knew I was gonna chime in. <g> You could have the media
player (OLE) embedded, and then have it linked to the media. Ok, not the
same thing but I just had ta...
 
Oh, no. More confusion on Media Player? ;)

Austin, thank you very much for explaining Media Player and Windows Media
Player.

Epinn
 
Hmmm, you just knew I was gonna chime in. <g> You could have the media
player (OLE) embedded, and then have it linked to the media. Ok, not the
same thing but I just had ta...

True, and fair enough. There you have an object embedded in PPT and the object
itself can have links to other objects.

MSGraph works this way too. You can have a graph embedded in PPT but its data
can link to a spreadsheet.

Or for that matter a PPT can be embedded into PPT and the embedded PPT can have
links to ....

Well yeah. Enough, right? ;-)
 
Back
Top