
Signature
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
> I'm not sure if an IF rule is the right way to do this. I am creating a
> Directory Merge, a list of names/addresses/phones/email. Some people have
[quoted text clipped - 31 lines]
>
> Thanks!
Doug - I understand about using Ctrl-F9 to produce the brackets. When I do
that, Word auto-inserts two spaces so that if I begin typing, my entry is
preceded and ended with a space (after/before open/close brackets). Your
entry seems to have the spaces too - can you just confirm for me that the
spaces are necessary? Also, do I type this directly in my merge document, and
where should I type it with respect to the merge fields? Thanks very much.
April
> Use the following field construction:
>
[quoted text clipped - 40 lines]
> >
> > Thanks!
Graham Mayor - 15 Aug 2007 06:45 GMT
The spaces are not *required*, but as Word's insert field adds them, they
are best inserted for standardisation (e.g. you may wish to use replace on a
document so it helps if all are inserted the same way).
i.e.
{ MERGEFIELD Home }
and
{MERGEFIELD Home}
will both work equally well.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Doug - I understand about using Ctrl-F9 to produce the brackets. When
> I do that, Word auto-inserts two spaces so that if I begin typing, my
[quoted text clipped - 57 lines]
>>>
>>> Thanks!
Peter Jamieson - 15 Aug 2007 09:32 GMT
Just to add a couple of obscure details to Graham's comment
a. in the very early versions of Windows Word, Word did /not/ insert those
extra spaces automatically. I think those extra spaces arrived in Word 6.
a. there are at least two places where having a space before the closing
brace makes a difference:
{ MACROBUTTON mymacro mytext }blah
displays
mytext blah
whereas
{ MACROBUTTON mymacro mytext}blah
displays
mytextblah
and similarly
{ EQ \l(1,2,3) }blah
displays
1,2,3 blah
whereas
{ EQ \l(1,2,3)}blah
displays
1,2,3blah
There could be others, but for example SET and QUOTE fields do not behave
this way.
Peter Jamieson
> Doug - I understand about using Ctrl-F9 to produce the brackets. When I do
> that, Word auto-inserts two spaces so that if I begin typing, my entry is
[quoted text clipped - 57 lines]
>> >
>> > Thanks!