Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have imported a HTML report into word by opening it (open index.html in Word) and copy / paste the result as an annex into my Doc.

It worked fine, except that all the images (200 of them) are actually links to the images on my hard drive. Hence, when I send the document to my co-workers, they don't have the images.

How can I tell MS-Word to embed these images into the document itself?

If you have the procedure to do it for one image, I might be able to record a macro or write a visual-basic macro.

share|improve this question
Embedding 200 images would probably make your document much larger, since, in my experience, Word would convert them to bitmaps, uncompressed bitmaps – pavium Jun 9 '11 at 12:02
Yes, I know that. But I have no choice. I has to be a single document (even a huge one). I cannot deliver a folder with images together with this document. – Raphael Jolivet Jun 9 '11 at 12:49
I see your problem. Maybe this explains the popularity of presentation software like Powerpoint. – pavium Jun 9 '11 at 12:54
What about a PDF version ? Or you can embed your images directly in the HTML file (using data: and base64). – Nicolas Jun 9 '11 at 13:09
up vote 5 down vote accepted

I found the solution here, the keyword was "unlinking images".

Here is the procedure for Word 2007.

  1. Press Ctrl+A to select the entire document.
  2. Click the large Microsoft Office button in the top left corner, select Prepare, then click Edit Links to Files (or press Alt+E+K).
    All links should be selected—if they're not, then make sure you've saved the document as a *.doc file, OR select all the files listed by scrolling to the end of the list and then using Shift+click to select the last in the range.
  3. Select the Save picture in Document check box.
  4. Click OK.
share|improve this answer
I'm happy, I now have my HUGE document ... – Raphael Jolivet Jun 9 '11 at 13:27
+1 I did not know about this option. I actually wrote a macro in answer to your question but by the time I finished you had found your solution. – James Jun 9 '11 at 14:09

I use LibreOffice and there is a function Edit/Links/Break link.

But I looked in MSO (I have here only 2010 Starter, which use only occasionally) and if you right click on image and choose Remove hyperlink, it seems to work in the same way.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .