Group:  Microsoft Word ยป microsoft.public.word.drawing.graphics
Thread: How can I create a list of includepicture references in Word?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How can I create a list of includepicture references in Word?
atz413 14.09.2006 15:26:02
I am a technical writer and I use linked graphics in my documents. I don't
always use all the screen captures I make, so I want to be able to generate a
list of all the linked graphics in a document, so that I can delete the
unused files from the folder.

Is there an easy way to do this in Word 2003
Re: How can I create a list of includepicture references in Word?
"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> 14.09.2006 16:40:39
This method will work only if: (a) you actually have IncludePicture fields
(that is, that the graphics are linked) and (b) the graphics are In Line
With Text.

1. Press Alt+F9 to display field codes.

2. In the Find dialog (Ctrl+F), type ^19 INCLUDEPICTURE in the "Find what"
box.

3. Check the box for "Highlight all items found."

4. Click Find All.

5. When all the IncludePicture fields are highlighted, carefully (so as not
to deselect the selected text) click outside the Find dialog and press
Ctrl+C to copy all the selections (or, if you still have a Copy button on
your Standard toolbar, this would be a good occasion for using it.

6. Create a new document and paste in the text you just copied.

The only problem with this approach is that the "text" you copied will be
fields, so you'll have created a document full of linked pictures. There's
no way to unlink the codes without destroying the fields, but there are two
other ways to extract the picture paths:

1. Just print the document you created, checking the box for "Field codes"
on the Print tab of Tools | Options.

2. If the pictures are all on the same drive, you can use another Find All:

a. Click More in the Find dialog and check the box for "Use wildcards."

b. In the "Find what" box, type "C:*" (including the quotation marks),
assuming that C: is the correct drive (substitute another if necessary). You
could also use "C:\\*" if it is likely that "C:" would pick up something
other than picture paths.

c. Find All, then Copy and Paste as before.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"atz413" <atz413[ at ]discussions.microsoft.com> wrote in message
news:F68185B9-894A-414A-847F-9A62704EC945[ at ]microsoft.com...
[Quoted Text]
> I am a technical writer and I use linked graphics in my documents. I don't
> always use all the screen captures I make, so I want to be able to
generate a
> list of all the linked graphics in a document, so that I can delete the
> unused files from the folder.
>
> Is there an easy way to do this in Word 2003

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net