Prev: Populating the last Sun. date of that week in a cell
Next: Visualbasic userform to appear automatically
From: Graham Mayor on 27 May 2010 16:05 You should use something like {IF {Town} = "Pasco" "True" "Not True"} -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "dolezelt" wrote: > Why the following example does not work? > > Example: > Bookmark "town" has value "Pasco" > {IF town = Prague "Not true" "{IF town = Pasco "True" " "} "} > > The outcome of this function is "{IF town = Pasco " but I am expecting > outcome "True". That means the word does not take into account another nested > function IF. > > I am trying to use nested function "If" because I saw this example in Word > 2003 help where nested If is used (I thought that it will work): > > {IF {MERGEFIELD Město} = "Brno" "Obyvatelům Brna náleží speciální sleva." > "{IF {MERGEFIELD Město} = "Hořovice" "Obyvatelům Hořovic náleží speciální > sleva." " "} "} > > Any solution to makes it work? |