When run on a folder that contains primary merge documents, the procedure is interrupted to confirm links. When run on a folder that contains no word documents nothing is returned.
I made the mistake of putting these in a module in my normal.dotm. It put the text into normal.dotm (as you said it would). Changing ThisDocument to ActiveDocument eliminated that problem. I was worried that ActiveDocument might be the document being counted, but it was the document that was open when I ran the macro.
|