View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Insert Contact from Outlook

You can control what is displayed with a Building Blocks Autotext entry in
normal.dotm
Copy the following exactly and save as an autotext entry called
AddressLayout (all one word)



{PR_GIVEN_NAME PR_SURNAME

}{PR_COMPANY_NAME

}{PR_POSTAL_ADDRESS}



(note the curly brackets are not true field boundaries as inserted with
CTRL+F9, but are directly typed from the keyboard)



The full range of 'fields' which can be used in such a construction is
listed at the end of http://www.gmayor.com/Macrobutton.htm



If the above doesn't work, see http://support.microsoft.com/?kbid=292127

Or you may prefer to use the more elegant method of inserting addresses by
vba shown at http://www.gmayor.com/Macrobutton.htm which provides even
greater control over what is displayed. There are some envelope templates,
incorporating this method, that you can download from my web site.

--

Graham Mayor - Word MVP

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


MikeD1224 wrote:
When I do an insert Outlook Contact into Word 2007 for making labels
it does not import the Company Name. It also adds "United States of
America" as the last line.

I would like to have it import the following:

First Name + Last Name
Company Name
Street Address
City, State, Zip

Any help would be appreciated. Thanks.