Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Using the IF-THEN function to conditionally add picture?
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? |
#2
|
|||
|
|||
This may help:
http://office.microsoft.com/en-us/as...861641033.aspx ************ Anne Troy www.OfficeArticles.com "jco" wrote in message ... 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? |
#3
|
|||
|
|||
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 My web site www.gmayor.com Word MVP web site http://word.mvps.org jco wrote: 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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If function and IncludePicture | Mailmerge | |||
Text to Speech Function is available in Excel but not in Word | Microsoft Word Help | |||
VBA function results in fields | Microsoft Word Help | |||
How to insert a Symbol into the Find and Replace Function in Word | Microsoft Word Help | |||
Word Compare and Merge Document Function | Microsoft Word Help |