replace image by its link

  • Thread starter Thread starter Arsene Wald
  • Start date Start date
A

Arsene Wald

I found out that in over 3000 MS Word documents users inserted our logo
instead of just linking to it. This made us lose around 60 MB!
So my question: Is it possible to automatically replace in each document
the only picture it contains by a link to the corresponding image file?
Our installed MS Word versions range from 97 up to 2002.
Any help will be really appreciated! TIA
 
You'd probably need a macro to go open each document, find
and delete the picture, then insert an INCLUDEPICTURE
field pointing to the image, then resize the image if
needed and save & close the file. The code to do this
could be written so that it works with all versions. There
are plenty of code examples around for looping through all
files in a folder, and using the macro recorder should
show you how to go about the rest.

Cheers
 
Back
Top