Graham,
Your version works - thank you!
The reason for the "pink shading" was I wanted to redact the test documents before posting here, because they are company files. I replaced the characters with 'x's' instead of blacking them out and enlarged the links and applied the pink shading so I could see them more easily while testing.
Whatever Word macros I work on and which I want to be used globally, I save as macro-enabled templates when finished testing and then store in the Startup folder. From what you said, it seems that some macros don't work properly UNLESS they are stored in an add-in template or the normal template. That is how I tested your version, and it worked even when I added a statement to set the font color of thew target links. But I always thought they should perform as expected in a regular macro-enabled document (.docm). Not true?
|