Linked Pictures in Powerpoint

  • Thread starter Thread starter Gina Starr
  • Start date Start date
G

Gina Starr

Is there a way to determine the original name and/or
directory of a picture that you have either embedded or
linked to Powerpoint?

Hypothetical Case: I did a presentation a year ago and now
I need to know the name of the graphic I used in one of my
slides.
 
Hi Gina,
As far as I know there is no way to find the original filename of a
picture that is embedded. However, for linked pictures, the following
macro will let you view the filename. It will also let you change the
name in case you wish to do that. To use it, select a shape, run the
macro, then type in a new filename if you want to change it (just click
OK in your case). If you're not sure about using macros, check the link
at the end.


Sub ChangePictureLink()
Dim Shape As Shape
Dim Filename As String

If ActiveWindow.Selection.Type <> ppSelectionShapes Then
MsgBox "Please select a shape"
ElseIf ActiveWindow.Selection.ShapeRange.Count <> 1 Then
MsgBox "Please select only 1 shape"
Else
Set Shape = ActiveWindow.Selection.ShapeRange(1)
If Shape.Type <> msoLinkedPicture Then
MsgBox "The shape is not a linked picture"
Else

' Show the filename, and get a new one (if required)
Filename = InputBox("Filename of linked item:", "", _
Shape.LinkFormat.SourceFullName)

' Change the filename
Shape.LinkFormat.SourceFullName = Filename

End If
End If
End Sub


Useful link:
http://www.rdpslides.com/pptfaq/FAQ00033.htm - how to use macro code
 
PowerPoint discards source file information of embedded pictures when file
is saved. No can do.

Nor can you save the picture to a file and look for a duplicate file, since
the files compression will have changed (even without trimming, resizing, or
PowerPoint picture compression).

Your best bet will be to run a manual compare (look for it). Sorry for the
bad news.

B

--
Please spend a few minutes checking out www.pptfaq.com This link will
answer most of our questions, before you think to ask them.

Change org to com to defuse anti-spam, ant-virus, anti-nuisance
misdirection.
 
I don't see the original so I'll tack on a couple cents worth here.

Embedded, no.
Linked yes.

Our FixLinks demo (Free to a good home) at www.pptools.com includes a link
reporting tool that'll give you the full path of each link in the
presentation and the slide it appears on and so forth.

Our free PPTools Starter Set includes a "What Am I" tool (AKA Da Piggie)
that gives you the position and size of any selected shape and also tells
you the shape type and link path if it's a linked picture.

--

Steve Rindsberg PPT MVP
PPTLive ( http://www.pptlive.com ) Featured Speaker
PPTools: http://www.pptools.com
PPT FAQ: http://www.pptfaq.com
 
Back
Top