Did you change the template path and template names to those that you have there?
When you run the test macro did you see the message box and did you transfer the value in that message box that relates to you to the following line?
Does the message tested have either of the text strings in the message body?
It will only work if the criteria correctly reflect what you have there.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|