MailMerge.Fields

M

Michael Tissington

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

In other words something like

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

Word seem to only see the "[Phone"

Any ideas ?
 
P

Peter Jamieson

I don't think you can, and that' s probably because Word does not allow
spaces in field names - as far as I know, it always replaces spaces in the
data source field names by underscores (and perhaps does slightly more if
there is a name clash).
 
Top