ms-wordmergefieldword-field

Format part of a Mergefield conditional text result


e.g. in Word document, say there is a section like:

{ IF { MERGEFIELD SomeCondition } = "True" "hello there world" "" }

where { } are the special word merge field parts, which show when you press ALT+F9.
In the above, when SomeCondition is True, I want the text "hello there world" to appear. This all works well. However, is it possible to get only the word "there" above, to be displayed in bold? I tried formatting the word to be in bold in Word, but when output, it did not display in bold.


Solution

  • It's way easier than that!

    Simply use a field coded as:

    {IF { MERGEFIELD SomeCondition } = "True" "Hello World" \* MERGEFORMAT}