Mail Merged Field Codes

M

Me

I am attempting to merge a SSN field from an Excel document into a Word
document. I understand I have to edit the mergefield to get the formatting I
want, but the attempts I have tried, haven't worked.

For example, I edited the mergefield with \# "###-##-####" This separated
the numbers in groups like I wanted, but the dashes are missing. Basically,
my question is how do I get dashes to appear in a mergefield?

Thanks!
 
D

Doug Robbins - Word MVP

Put a single quote either side of the dashes.

\# "###'-'##'-'####"

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

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