View Single Post
 
Old 09-24-2019, 09:02 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The fields in your document are not mergefields - they're formfields containing text strings like:
{FLPM2030_V.FL2030_CUSADD_ADD3}
That also means the document isn't being populated via a mailmerge, so mailmerge techniques, per se, won't work. For the field in question, though, whose formfield bookmark name is 'Text2', you might be able to use a field coded as:
{IF{REF Text2}<> " " ","}
Whether that would work depends on whether the formfields survive whatever document-update process your system employs. If the formfields get replaced with the output text, the above won't work.

Note: The field brace pairs (i.e. '{ }') for the above field coding example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac or, if you’re using a laptop, you might need to use Ctrl-Fn-F9); 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. The spaces represented in the field construction are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote