Solved

Word 2013 - Picture is linked or embedded

Posted on 2016-07-30
3
81 Views
Last Modified: 2016-07-31
Dear Experts,

Could you please advise how to identify simply, whether a certain picture is

a) linked
or
b) embedded

to the actual Word file?

Thanks in advance,
0
Comment
Question by:csehz
3 Comments
 
LVL 42

Expert Comment

by:Jackie Man
ID: 41736264
If a picture is embedded, the file size will be substantially larger than a typical word file which is less than 50kb for 50 pages document.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 41736392
You could run this VBA macro with the picture(s) selected
Sub SelectedPicturesReport()
    Dim sh As Shape
    Dim ilsh As InlineShape
    For Each sh In Selection.ShapeRange
        If sh.LinkFormat Is Nothing Then
            MsgBox "Picture is an embedded shape (floating)"
        Else
            MsgBox "Floating:  " & sh.LinkFormat.SourceFullName
        End If
    Next sh
    For Each ilsh In Selection.InlineShapes
        If ilsh.LinkFormat Is Nothing Then
            MsgBox "Picture is embedded and in line with the text"
        Else
            MsgBox "In line:   " & ilsh.LinkFormat.SourceFullName
        End If
    Next ilsh
End Sub

Open in new window

1
 
LVL 1

Author Closing Comment

by:csehz
ID: 41736484
That code is awesome, thanks very much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now