Solved

Word 2013 - Picture is linked or embedded

Posted on 2016-07-30
3
68 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 41

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

747 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

12 Experts available now in Live!

Get 1:1 Help Now