It is truly amazing to me that the designers make it so hard to insert an
address from Outlook Contacts into a letter in Word. Take an address -
insert it into a letter. For me, this is one of the most used fuctions of
the word processor. Gone in Word 2007 is the short list of 10 or so most
recently used names - that was useful.
First the Address Book function is buried and has to be added to the Quick
Access Toolbar - but I admit that complaint is true of a majority of the Word
functions. Second, the formatting of the address block using fields is also
hidden (good job with your explanation, Graham) and not easily found in
Microsoft support materials. And now the formatting definition is only
followed "sometimes". I'm using Word, I'm not checking it for bugs or
deciphering how it works. My experience is that once you do insert the
Address_Layout quick part into the document, then delete it, all addresses
that are inserted will format following that definition. It seems to work in
new documents until Word is closed, so it is a one-time function each time
you re-start Word. Until then, addresses come across with only NAME, STREET,
CITY-State-ZIP, COUNTRY fields.
My Address_Layout Quick Part is defined as a QuickPart, not an AutoText,
because when I defined it as an Autotext initially it had no effect. Perhaps
the problem was not the definition as Autotext (instead of Quick Part), but
instead this other functional problem discussed herein.
Finally, Graham, I need to pick and insert many addresses from Outlook into
a document, so I cannot add a macro to the document to grab the Outlook
address, as elegant as your macro is. Instead, I think I would have to have
a macro that adds your macro, then execute your macro each place and time I
need to insert and address into the word document I am creating.
For example, the document says:
The foregoing was mailed this date to:
After which I have to insert between 1 and 5 (or more) names and address
blocks.
Thanks, all for confirming it was not just my comptuer, my system, and
new-user mistakes.