Field Code Missing for Linked Pictures in Word 2007

  • Follow


What happened to the INCLUDEPICTURE field in word 2007? I need to know the 
filename and path of the linked picture. If I save as a word 2003 doc I see 
the field code but that's not a good solution for me.
0
Reply Utf 12/31/2009 2:48:01 PM

On Thu, 31 Dec 2009 06:48:01 -0800, D Harlow
<DHarlow@discussions.microsoft.com> wrote:

>What happened to the INCLUDEPICTURE field in word 2007? I need to know the 
>filename and path of the linked picture. If I save as a word 2003 doc I see 
>the field code but that's not a good solution for me.

Without explanation, this was changed; it may be related to the way
links are represented in the XML-based Office 2007 file format, but
I'm not sure.

You can see and change the links by going to Office button > Prepare >
Edit Links to Files. However, the dialog just lists all the links in
the document; there is no way to be sure which link corresponds to
which picture.

If you just want to see the path and filename of a specific picture,
install this macro in your Normal.dotm template (see
http://www.gmayor.com/installing_macro.htm if needed) and add a button
to the Quick Access Toolbar for it. Click on the picture to select it,
and click the macro's button to get a message box containing the path
and filename.

Sub DisplayLink()
    With Selection
        If .InlineShapes.Count Then
            With .InlineShapes(1)
                If Not .LinkFormat Is Nothing Then
                    MsgBox .LinkFormat.SourceFullName
                End If
            End With
        ElseIf .ShapeRange.Count Then
            With .ShapeRange(1)
                If Not .LinkFormat Is Nothing Then
                    MsgBox .LinkFormat.SourceFullName
                End If
            End With
        End If
    End With
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
0
Reply Jay 12/31/2009 5:20:34 PM


There's a bug in Word 2007 which automatically converts some, but not all, 
INCLUDEPICTURE fields into Shape-like objects. Microsoft support have 
acknowledged that this is a bug and have promised to fix it in SP3. As you 
point out, the bug is limited to 2007.

"D Harlow" wrote:

> What happened to the INCLUDEPICTURE field in word 2007? I need to know the 
> filename and path of the linked picture. If I save as a word 2003 doc I see 
> the field code but that's not a good solution for me.
0
Reply Utf 1/22/2010 7:41:01 PM

Word 2007 sp3? Really?

-- 
Terry Farrell - MSWord MVP

"Miles" <Miles@discussions.microsoft.com> wrote in message 
news:26BEA064-20C3-4258-ADCF-4F604663F7CF@microsoft.com...
> There's a bug in Word 2007 which automatically converts some, but not all,
> INCLUDEPICTURE fields into Shape-like objects. Microsoft support have
> acknowledged that this is a bug and have promised to fix it in SP3. As you
> point out, the bug is limited to 2007.
>
> "D Harlow" wrote:
>
>> What happened to the INCLUDEPICTURE field in word 2007? I need to know 
>> the
>> filename and path of the linked picture. If I save as a word 2003 doc I 
>> see
>> the field code but that's not a good solution for me. 

0
Reply Terry 1/22/2010 10:30:23 PM

3 Replies
691 Views

(page loaded in 0.103 seconds)


Reply: