Changing xl cell format for Word mailmerge

Big Lar

Well-known Member
Joined
May 19, 2002
Messages
557
I have a db of nearly 500 names/addresses/phone numbers in xls.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Phone columns are formatted Special/phone number...so 3333333333 is displayed as (333) 333-3333
<o:p> </o:p>
I am creating several Word docs using MailMerge with the xls as the data source.
The docs display the phone numbers without the xl cell format.
<o:p> </o:p>
Rather than change each xl entry, I’m looking for a method to change the cell values to include the ( ) and -

Possible? I hope.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
In your Word mail merge main document, type Alt+F9 to display the merge field codes.

Your phone number merge field probably looks something like this:

{ MERGEFIELD "Phone" }

Put the cursor immediately before the } and change it to:

{ MERGEFIELD "Phone" \# "(####) ###'-'####" }

See 'Telephone Numbers' section in http://www.gmayor.com/formatting_word_fields.htm for more details.

Type Alt+F9 again to hide the field codes.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,345
Members
452,907
Latest member
Roland Deschain

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