View Single Post
 
Old 02-16-2015, 07:02 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

This has nothing to do with macros. It's an autotext entry - there's no programming involved. Copy the text

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

to a blank document. Select it then press ALT+F3 give it the name AddressLayout (no spaces) and save it in the normal template. The insert address function will then use this format.
The only VBA programming is in the add-in which I suggested you might find useful and that is already done for you.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote