![]() |
|
|
|
#1
|
|||
|
|||
|
If you decide exactly which part of the link needs to change you should be able to do this.
Code:
Sub change_path() Dim osld As Slide Dim oshp As Shape For Each osld In ActivePresentation.Slides For Each oshp In osld.Shapes If oshp.Type = msoMedia Then If oshp.MediaType = ppMediaTypeMovie Then On Error Resume Next ' in case there are embedded videos If oshp.LinkFormat.SourceFullName <> "" Then 'original was C:\users\John\Desktop\MyVids\vid.wmv 'new path is C:\users\John\Desktop\MyNewVids\vid.wmv oshp.LinkFormat.SourceFullName = Replace(oshp.LinkFormat.SourceFullName, Find:="MyVids", Replace:="MyNewVids") End If End If End If Next oshp Next osld End Sub |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Two motion paths | iskenderbaris | PowerPoint | 0 | 04-12-2012 03:13 AM |
Relative path for video link? Is it possible?
|
Baudisson | PowerPoint | 1 | 01-10-2012 02:19 AM |
| motion paths | Cath5000 | PowerPoint | 0 | 07-29-2011 10:59 AM |
| Powerpoint with audo and video convert to video | BasSander | PowerPoint | 0 | 06-22-2011 02:37 AM |
| Motion Paths with Rotation | PBone | PowerPoint | 4 | 01-13-2011 11:59 AM |