Mail Merge: Issue with number formatting (ssn)

Woelfe

New Member
Joined
Sep 17, 2002
Messages
35
Greetings all!

I'm having an issue doing a mail merge that I can't figure out how to get around. This may be more of a MS Word question, but I couldn't find a good forum available to ask the question.

I exported some data from our system into an excel sheet, SSN and names of students. I converted the SSN to number and applied the special formatting for social security to show the dashes. The appearance is fine in Excel, but when I merge the data to make labels in MS Word the number is losing the formatting and showing a string of 9 numbers with no dashes.

I couldn't find a setting in Word to affect the merge field. Does anyone know how I can keep the formatting or adjust it in Word to represent a social security number?

Many thanks in advance!

Woelfe
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Woelfe

There is a setting in Word for formatting mail merge fields.

Try searching help for information on switches.
 
Upvote 0
Norie,

Thank you so much! I found the section on switches and discovered a lot of additional ways to format.

{MERGEFIELD student_ssn\# ###'-'##'-'####}

This is what I used to format it so that the dashes showed up as they should in case anyone else stumbles across this post. :biggrin:

Thanks again Norie!

Woelfe
 
Upvote 0
Norie,

Thank you so much! I found the section on switches and discovered a lot of additional ways to format.

{MERGEFIELD student_ssn\# ###'-'##'-'####}

This is what I used to format it so that the dashes showed up as they should in case anyone else stumbles across this post. :biggrin:

Thanks again Norie!

Woelfe

19 years later, this is still relevant and solved my problem. Thank you!
 
Upvote 0

Forum statistics

Threads
1,221,544
Messages
6,160,438
Members
451,646
Latest member
mmix803

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top