Properly implemented, the field code demonstrated in Graham's post will work. At its simplest, you can use either:
{IF{MERGEFIELD Request_Staff_Person}= "Minnie Mouse" "Mickey Mouse"}{IF{MERGEFIELD Request_Staff_Person}= "Donald Duck" "Another Mouse"}
or:
{IF«Request_Staff_Person»= "Minnie Mouse" "Mickey Mouse"}{IF«Request_Staff_Person»= "Donald Duck" "Another Mouse"}
Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. Likewise, the chevrons (i.e. '« »') are part of the actual mergefields - which you can insert from the 'Insert Merge Field' dropdown (i.e. you can't type or copy & paste them from this message, either). The spaces represented in the field constructions are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|