How to show a drawing conditionally

T

ThomasAJ

I only want to show a drawing under certain conditions that are based on
values passed to the Word document during a merge. Can someone give me a
pointer.
 
G

Graham Mayor

Without knowing the fieldnames the conditions or where the drawing
information comes from it is hard to be specific - but
a conditional field such as
{IF {Mergefield fieldname} = "condition" "{Includepicture
"C:\\path\\picturename.jpg}"}

See also http://www.gmayor.com/mail_merge_graphics.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
T

ThomasAJ

Actually the best method (for me) is to save the drawing as an AUTOTEXT item
and then:
{IF {Mergefield fieldname} = "condition" "{Autotext ItemName}" ""}

Thanks for your reply though. Help is always appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top