The item has not pasted correctly (see the layout in my post). Each DIM statement should be on a new line.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|