View Single Post
 
Old 08-11-2021, 09:11 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You put the code in the wrong module. Take it out of Module1 and put it into ThisDocument.

The module is 'special' as having the code there allows it to be fired off by document events rather than needing you to tell Word when to run it.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote