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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top