Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2007

Tip: Looking for answers? Try searching our database.

AddressLayout not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ander163 - 25 Jun 2007 17:33 GMT
In Word 2007, I have a Quick Parts entry defined for AddressLayout, just like
I've been using for years in Word 2003.  However, the Insert Address function
from Outlook contacts, to insert a single address into a Word document, does
not follow this format until after I insert the AddressLayout quick part into
the document then delete it.  Until I do that extra step, I only get the
default addresss block - without the Company and with the Country.  Any help
would be appreciated.
Peter Jamieson - 25 Jun 2007 17:58 GMT
In the QuickParts/Building Blocks organiser, have you put the AddressLayout
entry in the AutoText Gallery. That seems to do the trick here, assuming you
are using the Address Book function (which I had to put in the QAT).

Peter Jamieson

> In Word 2007, I have a Quick Parts entry defined for AddressLayout, just
> like
[quoted text clipped - 8 lines]
> help
> would be appreciated.
Graham Mayor - 26 Jun 2007 05:59 GMT
I was hoping that your answer would have resolved this problem which has
been taxing me also, however it doesn't - at least not all of the time. It
seems to work only for some addresses? Until I can get a handle on what the
problem might be I have been recommending the use of a macro to grab the
address from Outlook and format it as required. This is covered at
http://www.gmayor.com/Macrobutton.htm and is featured in the envelope
templates that can be downloaded from my web site, which do work in Word
2007.

Signature

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

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

> In the QuickParts/Building Blocks organiser, have you put the
> AddressLayout entry in the AutoText Gallery. That seems to do the
[quoted text clipped - 14 lines]
>> Country.  Any help
>> would be appreciated.
Peter Jamieson - 26 Jun 2007 12:03 GMT
Hi Graham,

Sorry to disappoint :-) Yes, I've only really dabbled with this in response
to this particular question - it sounds as if you've had a much more
thorough look.

If the AddressLayout approach seems to work sometimes, then I suppose it's
either
a. still intended to be there (i.e. it's there "by design" in Microsoft
jargon) but doesn't work as intended all the time - in which case I think
the OP should really submit a support request to set the wheels turning to
get it fixed.
b. or intended to be there but perhaps is intended to work differently from
how we imagine (I have no idea how, but perhaps again a support request
would lead to an answer)
c. or perhaps not intended to be there but there are vestigial remains, in
which case the likely effect of a support request would be to see the
feature removed altogether at some point.

What happens with the addresses that don't work - do they come in as they
appear in the Outlook contact dialog box, or in some other format
altogether? Is there a discernible common factor of any kind?

Peter Jamieson

>I was hoping that your answer would have resolved this problem which has
>been taxing me also, however it doesn't - at least not all of the time. It
[quoted text clipped - 23 lines]
>>> Country.  Any help
>>> would be appreciated.
Graham Mayor - 26 Jun 2007 13:29 GMT
I have been investigating further and think I may have got the measure of
this at last. It seems to work if you create the addresslayout in the
Building Blocks file, while Word remains open, but then if you close and
re-open Word (saving the building blocks file in the process) it no longer
works reliably. If instead of saving the entry in building blocks you save
it in normal.dotm (or move it via the building blocks organiser) then it
seems to remain working after you close and re-open Word.
I have tried a few times since to break it and it is holding so far.

I had already found that some of my macros wouldn't insert autotext entries
from building blocks but would from normal.dotm, which is what gave me the
idea to try it here.

All I need now is to be able to convince Word/Outlook that I live in Cyprus
and not the UK, so that it ignores Cyprus as a country and adds UK when
completing the addresses, but that has nothing to do with the problem in
hand.
Signature

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

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

> Hi Graham,
>
[quoted text clipped - 56 lines]
>>>> Country.  Any help
>>>> would be appreciated.
ander163 - 26 Jun 2007 14:15 GMT
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.

> I have been investigating further and think I may have got the measure of
> this at last. It seems to work if you create the addresslayout in the
[quoted text clipped - 73 lines]
> >>>> Country.  Any help
> >>>> would be appreciated.
Graham Mayor - 26 Jun 2007 15:34 GMT
> 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 functions of the word processor. Gone in Word 2007 is the
> short list of 10 or so most recently used names - that was useful.

Interestingly the short list of names is still attached to the address book
function that is part of the envelope tool.

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

I am pretty sure that it was never available by default in any previous
version. I seem to recall adding it to my own toolbars in earlier versions.
But you are right about it being buried in 2007.

>Second, the formatting of the
> address block using fields is also hidden (good job with your
[quoted text clipped - 7 lines]
> one-time function each time you re-start Word.  Until then, addresses
> come across with only NAME, STREET, CITY-State-ZIP, COUNTRY fields.

If you add AddressLayout in the format

{<PR_GIVEN_NAME> <PR_SURNAME>
}{<PR_COMPANY_NAME>
}{<PR_POSTAL_ADDRESS>}

Copy the above to Word, select and press ALT+F3 then save it as an autotext
entry in normal.dotm - then make sure normal.dotm is saved when you close
Word it will hold over a restart.

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

It should be named AddressLayout, though if you tell me that Address_Layout
works I will accept that as another anomaly.

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

You could add the macro to your QAT and it will insert the address at the
cursor position. You can easily change how the macro formats the address
inserted.

> For example, the document says:
>
[quoted text clipped - 5 lines]
> Thanks, all for confirming it was not just my computer, my system, and
> new-user mistakes.

It's a steep learning curve for all of us well versed in the old way of
doing things. I really don't know what Microsoft was thinking. However as
others have said, it does get easier with familiarity.

Signature

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

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

Peter Jamieson - 26 Jun 2007 17:56 GMT
> I am pretty sure that it was never available by default in any previous
> version. I seem to recall adding it to my own toolbars in earlier
> versions.

FWIW you have to back a long way to see the icon there by default - it
arrived AFAIK in Word 95 (when it started Schedule+) but was no longer a
default button in Word 97 - it's possible that this particular icon may have
been added or not depending on what was already installed when you set up
Word, but I don't remember anything like that.

Peter Jamieson

>> 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
[quoted text clipped - 68 lines]
> doing things. I really don't know what Microsoft was thinking. However as
> others have said, it does get easier with familiarity.
Peter Jamieson - 26 Jun 2007 17:34 GMT
Nifty piece of research! I'll have a look as well at some point.

Peter Jamieson
>I have been investigating further and think I may have got the measure of
>this at last. It seems to work if you create the addresslayout in the
[quoted text clipped - 73 lines]
>>>>> Country.  Any help
>>>>> would be appreciated.
Graham Mayor - 27 Jun 2007 07:03 GMT
I may have been a little hasty. It now works from the insert address icon,
but it is still hit and miss from the envelope tool. Even Microsoft is vague
on the subject http://support.microsoft.com/kb/292127 though recognizes the
problem.

In practice, for business letters, I use templates for separate envelopes
and I add the addressee information to the letter and copy that to the
envelope tool. Both of these work, so I can live with the lack of the
envelope tool address function.

Signature

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

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

> Nifty piece of research! I'll have a look as well at some point.
>
[quoted text clipped - 84 lines]
>>>>>> Country.  Any help
>>>>>> would be appreciated.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.