Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2006

Tip: Looking for answers? Try searching our database.

Auto macros

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJ - 04 Aug 2006 11:39 GMT
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?
Jonathan West - 04 Aug 2006 12:03 GMT
>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
[quoted text clipped - 3 lines]
> 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

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.