Actually it does work. The problem is the sub name. Change that to UpdateAllFields or UpdateMyFields and it works.
I should have thought of this earlier, but a cut and paste job was quicker.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|