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 / June 2005

Tip: Looking for answers? Try searching our database.

Automatic execution of vBA code when a word document is opened

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arlan - 29 Jun 2005 06:57 GMT
I have created a template with forms, modules and a document_open.cls in the
'ThisDocument' document-open event handler under the project.  The
document-open code sets up a custom toolbar that with tools that call
routines in the VBA module.

When I copy the template file (.doc) to the startup folder and check it in
the global templates dialog, the vba code is loaded with each new doucment,
but
Jean-Guy Marcil - 29 Jun 2005 13:05 GMT
Arlan was telling us:
Arlan nous racontait que :

> I have created a template with forms, modules and a document_open.cls
> in the 'ThisDocument' document-open event handler under the project.
[quoted text clipped - 4 lines]
> it in the global templates dialog, the vba code is loaded with each
> new doucment, but

but...?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Arlan - 29 Jun 2005 17:40 GMT
Sorry I pushed post accidently.  I did not mean for this to be posted.  Thanks!

> Arlan was telling us:
> Arlan nous racontait que :
[quoted text clipped - 9 lines]
>
> but...?

Rate this thread:






 
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.