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
|