thanks for the reply. Now I have a Module "AutoOpen" with the function "Public Sub MAIN()" in the "Normal" section, but the Macro still doesn't start.
What's wrong?
I think you want the sub to be called "AutoNew". This will start the macro anytime a new document is created based on that template. The macro should be stored in the template only. If you name it AutoOpen, it will run every time you open a document created with that template. Always store the AutoNew and AutoOpen macros in the templates not in Normal.dot
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.