This is just air code but should check the active presentation
Sub link_chex()
Dim oshp As Shape
Dim osld As Slide
Dim opath As String
Dim strMsg As String
On Error Resume Next
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoMedia Then
If oshp.MediaType = ppMediaTypeSound Then
opath = (oshp.LinkFormat.SourceFullName)
If opath <> "" Then 'not linked
Err.Clear
GetAttr (opath)
If Err <> 0 Then strMsg = strMsg & vbCrLf & "Slide " & osld.SlideIndex _
& " Sound - " & oshp.Name & " has a missing link!"
End If
End If
End If
Next oshp
Next osld
MsgBox strMsg
End Sub
On
www.pptfaq.com programming there are routines for checking a folder full
of presentations - just add this code and see if that helps.
--
john ATSIGN PPTAlchemy.co.uk
Free PPT Hints, Tips and Tutorials
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html
"Paul" wrote:
> I have about 100 PowerPoints that were submitted to me and I'd like to know
> if there's an automated method to scan these for links to external media
> such as video and audio, so that if there is a problem I can go back to the
> author and obtain the media file. I understand I can open each PPT
> manually, and play the slideshow and look for a missing file error message
> from PPT, but would like a more efficient method if possible. It also seems
> if the media was inserted with play-on-click option instead of automatic
> play, no error message for the missing media appears when clicked.
> (PowerPoint 2007 SP2)
>
> -- Paul
>
>
> .
>