A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Switch for Telephone number



 
 
Thread Tools Display Modes
  #1  
Old April 1st, 2008, 05:02 PM posted to microsoft.public.word.mailmerge.fields
KarenMike
external usenet poster
 
Posts: 10
Default Switch for Telephone number

I am trying to do a mail merge with an access 2003 query. The table is set so
my tel. numbers are stored and displayed as (xxx)xxx-xxxx. When I merge it
with a word doc, the number is displayed as xxxxxxxxxx. I have reviewed the
recommended document "www.gmayor.com/formatting_word_fields" as recommended
in previous postings, but it does not address telephone numbers.
--
Karen K
  #2  
Old April 1st, 2008, 08:37 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Switch for Telephone number

Adding the following formatting switch to the field will display the numbers
in that way

\# "(###) ###-####"

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

"KarenMike" wrote in message
...
I am trying to do a mail merge with an access 2003 query. The table is set
so
my tel. numbers are stored and displayed as (xxx)xxx-xxxx. When I merge it
with a word doc, the number is displayed as xxxxxxxxxx. I have reviewed
the
recommended document "www.gmayor.com/formatting_word_fields" as
recommended
in previous postings, but it does not address telephone numbers.
--
Karen K



  #3  
Old April 2nd, 2008, 09:15 AM posted to microsoft.public.word.mailmerge.fields
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Switch for Telephone number

It should have been possible to work this out from the information on my web
site, however I have added a brief section on telephone number formatting.
In fact Doug's example here will not work as intended as the hyphen needs to
be quoted or it will be replaced by a space. I also suggest using zeros
rather than hashes as phone numbers can contain leading zeros thus

\# "(000) 000'-'0000"

would be my recommendation. The space after the right bracket ')' is
optional.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Doug Robbins - Word MVP wrote:
Adding the following formatting switch to the field will display the
numbers in that way

\# "(###) ###-####"


"KarenMike" wrote in message
...
I am trying to do a mail merge with an access 2003 query. The table
is set so
my tel. numbers are stored and displayed as (xxx)xxx-xxxx. When I
merge it with a word doc, the number is displayed as xxxxxxxxxx. I
have reviewed the
recommended document "www.gmayor.com/formatting_word_fields" as
recommended
in previous postings, but it does not address telephone numbers.
--
Karen K



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.