Occurs when Word closes. This must be stored in a global template.
If you add a subroutine called AutoExit to your Normal.dot template and none of the other global templates have any AutoMacros then this will run when Word is closed.
If you have an AutoExit macro in your Normal.dot template and in another globel template then:
AutoExit in the Normal.dot template executes.
AutoExit in the global template executes.
If you add this subroutine to a user template it will only be executed when you attach that template to a document.
© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited