?
Solved

Word 2013 - Picture is linked or embedded

Posted on 2016-07-30
3
Medium Priority
?
118 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 47

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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes a serious pitfall that can happen when deleting shapes using VBA.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 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