Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I want to create a mail merge document that will take numerical data from a
spreadsheet and convert it into text, eg a value of 1 in the spreadsheet will display as a specific phrase in word, a value of 2 will display a different phrase, etc. Is this possible? |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
That can be done using an If...then...Else... field construction
{ IF { MERGEFIELD fieldname } = 1 "Display this text because the field contains 1" "Display this other text because the field does not contain 1" } You can "nest" such fields if you want to test for more than just two values. You must use Ctrl+F9 to insert each pair of field delimiters { } - it will not work if you enter them directly from the keyboard, and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "JB" wrote in message ... I want to create a mail merge document that will take numerical data from a spreadsheet and convert it into text, eg a value of 1 in the spreadsheet will display as a specific phrase in word, a value of 2 will display a different phrase, etc. Is this possible? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
manipulating/cutting/pasting text out of a text box | Microsoft Word Help | |||
Enter text in a field and have it appear as entered elsewhere | Microsoft Word Help | |||
Next Record merge field with text boxes | Mailmerge | |||
HTML text in Merge Field | Mailmerge | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help |