Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Inserting text based on the first character of a field
Can I ask If...Then...Else to insert the word Dear before any preferred
salutation that starts with 'M'? |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Inserting text based on the first character of a field
Try
{ IF "{ MERGEFIELD myfield \*Upper }" = "M*" "Dear " "" }{ MERGEFIELD myfield } (You can use various types of field instead of { MERGEFIELD myfield } depending on what you need). All the {} need to be the special field code braces that you can insert using ctrl-F9. -- Peter Jamieson http://tips.pjmsn.me.uk "Habitat Calgary" wrote in message ... Can I ask If...Then...Else to insert the word Dear before any preferred salutation that starts with 'M'? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
automatically inserting text in a merge field blank field. | Mailmerge | |||
Autofill of Text Form Field based on another Text Form Field | Microsoft Word Help | |||
text form field in document (based on template) | Microsoft Word Help | |||
update text form field on document based on template | Microsoft Word Help | |||
How do a make a doc save based on a text field? | Page Layout |