View Single Post
  #2  
Old May 7th, 2004, 04:31 PM
Peter Jamieson
external usenet poster
 
Posts: n/a
Default Mail Merge - inserting word field (if/then statement)

It's probably easier to work directly with the field codes - use Alt-F9 to
toggle between field code/field result views and ctrl-F9 to insert the
special field code braces {}. Then use something like

{ IF "{ MERGEFIELD certain_field }" = "X" "{ MERGEFIELD Y }" "" }

--
Peter Jamieson

"Laura" wrote in message
...
I've got a dilemma to solve immediately-I am mail merging from an excel

spreadsheet and need to use an if/then statemen such as -- If the value of
a certain field is X, insert the value in field Y. Right now the only way I
know how to use if/then statements is, if the value of a certain field is X,
insert specific text (as opposed to a field in the spreadsheet.) Any ideas?
Thank you!