Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2013, 07:43 AM
Bobosmite Bobosmite is offline Image links severed when converting .html to .doc Windows 7 Image links severed when converting .html to .doc Office 2003
Advanced Beginner
Image links severed when converting .html to .doc
 
Join Date: May 2010
Posts: 47
Bobosmite is on a distinguished road
Default Image links severed when converting .html to .doc

I have an .html document with 147 images. The images reside in a separate /images directory. When I convert the .html to .doc, the images in the .doc are automatically linked to the /images directory. I want the images embedded in the .doc, so I can have one single file and not have to worry about keeping the /images directory.

Is there a way to tell Word to embed the images that are currently linked to a different directory? Maybe there's an option in Word similar to how you can embed fonts?
Reply With Quote
  #2  
Old 03-28-2013, 07:36 PM
macropod's Avatar
macropod macropod is offline Image links severed when converting .html to .doc Windows 7 64bit Image links severed when converting .html to .doc Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can break the links via Edit>Links>break Link. Alternatively, you could use a macro like:
Code:
Sub BreakLinks()
Dim i As Long
With ActiveDocument
  On Error Resume Next
  For i = .InlineShapes.Count To 1 Step -1
    .InlineShapes(i).LinkFormat.BreakLink
  Next
  For i = .Shapes.Count To 1 Step -1
    .Shapes(i).LinkFormat.BreakLink
  Next
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Image links severed when converting .html to .doc Convert html links into embedded hyperlinks njcloud Mail Merge 23 02-04-2020 02:00 PM
Image links severed when converting .html to .doc 2003: Converting to HTML TomBrooklyn Word 1 09-03-2011 05:42 AM
Maintain form field when converting to HTML lenknlogs Word 0 08-04-2011 02:21 PM
Converting an image created in Word to a jpeg VIC73 Drawing and Graphics 1 02-17-2010 10:58 AM
Editing or Converting an Image in Word DavidWell Word 0 01-22-2009 11:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft