I have a template which produces documents that are updated by the users. I need to have it check a cell in a specific table and match it to the relevant document property when they have edited the document, and I want to do this when they hit File-Close (a lot of our users close the document and say ‘yes’ to ‘save changes?’ rather than saving it first then closing it). The problem occurs if the table cell and property *don’t* match.
If that’s the case, I need to stop the file-close, tell them to buck their ideas up and let them go back in to correct the table cell – but Exit Sub doesn’t seem to do it! Is there a special way to stop the document closing on request?
Many thanks in advance!