I am trying to do Auto Macros in a different template than the
normal.dot. I create a module called AutoClose or AutoExec or AutoNew
and within those modules I have a sub Main(). None of these macros will
run unless I place them in the normal.dot. I can't have them in the
normal.dot as I cannot replace the clients normal.dot. I created a
different add in called adn.dot and place them in there as a module but
it won't run unless I move them back to normal.dot. Any suggestions?

Re: Auto macros by Jonathan

Jonathan
Fri Aug 04 06:03:26 CDT 2006


"JJ" <jjacobs@bclr.com> wrote in message
news:1154687952.945404.85800@i42g2000cwa.googlegroups.com...
>I am trying to do Auto Macros in a different template than the
> normal.dot. I create a module called AutoClose or AutoExec or AutoNew
> and within those modules I have a sub Main(). None of these macros will
> run unless I place them in the normal.dot. I can't have them in the
> normal.dot as I cannot replace the clients normal.dot. I created a
> different add in called adn.dot and place them in there as a module but
> it won't run unless I move them back to normal.dot. Any suggestions?
>

How to create global event procedures similar to AutoOpen, AutoNew and
AutoClose, without using Normal.dot
http://www.word.mvps.org/FAQs/MacrosVBA/PseudoAutoMacros.htm

Writing application event procedures
http://www.word.mvps.org/FAQs/MacrosVBA/AppClassEvents.htm


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org