Why don't you replace the words in the document before adding it to the message body? Based on your comments, you could insert content controls in the document and write the required values to them before adding it to the messages.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|