How do I format a phone number in a mail merge?

K

Kristyn

My data source is an Access query. The phone # is formated correctly in the
query, but when merged into a Word doc it looses it's formatting. Instead of
this:
(206) 860-1400,
I get this:
2068601400

Thanks for your ideas - Kristyn
 
D

Doug Robbins

If you have the expression correct in the query (and it's that expression
that is doing the formatting, not the built in formatting) then it should
appear as formatted.

You would need the following expression:

"(" & Left([Phone],3) & ") " & Mid([Phone],4,3) & "-" & Right([Phone],4)

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
G

Graham Mayor

Or format it in Word with the following field switch
{ Mergefield Phone \# "'('000') '000'-'0000" }

See - http://www.gmayor.com/formatting_word_fields.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Doug said:
If you have the expression correct in the query (and it's that
expression that is doing the formatting, not the built in formatting)
then it should appear as formatted.

You would need the following expression:

"(" & Left([Phone],3) & ") " & Mid([Phone],4,3) & "-" &
Right([Phone],4)


Hope this helps,
Doug Robbins - Word MVP
Kristyn said:
My data source is an Access query. The phone # is formated correctly
in the
query, but when merged into a Word doc it looses it's formatting.
Instead of
this:
(206) 860-1400,
I get this:
2068601400

Thanks for your ideas - Kristyn
 

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