View Single Post
  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default AddressLayout not working

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

Graham Mayor - Word MVP

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



Peter Jamieson wrote:
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


"Graham Mayor" wrote in message
...
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.

--

Graham Mayor - Word MVP

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


Peter Jamieson wrote:
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

"ander163" wrote in message
...
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.