There were a number of issues. The userform code changes are self explanatory. The processing takes place in the ShowMyForm macro.
Tools > References had an unwanted and missing reference to a document.
strText was defined as an Integer, instead of a string.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|