Using the IF-THEN function to conditionally add picture?

J

jco

Doing a mail merge, I am trying to use the IF-THEN function to conditionally
add or remove a picture field.

Nevertheless it seems that the IF-THEN function only works to add plain text.

Is there another way to do this (VBA??)?

And:
The condition field contains a value, but is in text format (contains a
period sign). In my IF-sentence, I want to check whether the value in this
field is greater than a certain limit. Is there any way to convert the field
from text to number?
 
G

Graham Mayor

You have to enter it manually

{IF {Mergefield fieldname} = "condition" "{Includepicture
"c:\\path\\picturename.jpg"}"}

Use CTRL+F9 for the field boundaries and change the fiueldnames etc to suit
your requirements.

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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