Adding MailMerge Fields

M

Michael Tissington

How do I add a MailMerge field that contains spaces ...

In other words something like

ActiveDocument.MailMerge.Fields.Add Selection.Range, "[Phone Number]"

Word seems to only see the "[Phone"

Any ideas ?
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Michael,

Mailmerge field names cannot contain spaces.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
Top