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 2007

Tip: Looking for answers? Try searching our database.

global AutoOpen, AutoClose ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marceepoo - 06 Aug 2007 02:20 GMT
Is there any way to have an AutoOpen and AutoClose Sub execute regardless
which .dot file was used to create my document ?    My experience is that
putting the AutoOpen and AutoClose Sub into the normal.dot is not enough.  

I put the AutoOpen and AutoClose Sub into a module called "NewMacros1", and
I used the "Organizer" to copy it into all the workgroup .dot files that our
office uses to create documents.

Does anyone have any ideas about how to create a macro to add the NewMacros1
module to documents or templates?

Thanks again for your help.

                                       Marceepoo
Jonathan West - 06 Aug 2007 08:50 GMT
> Is there any way to have an AutoOpen and AutoClose Sub execute regardless
> which .dot file was used to create my document ?    My experience is that
[quoted text clipped - 9 lines]
> NewMacros1
> module to documents or templates?

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

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

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
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.