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

Tip: Looking for answers? Try searching our database.

Outlook not firing an AutoExec sub in a Word global template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
koolnuts - 07 Feb 2005 12:23 GMT
I have a Word global template located under STARTUP which has an AutoExec sub
that runs some initialisation routines.

The problem I am having is that, as Word is my email editor for Outlook
emails, when I start Outlook first before I start Word, the Word global
template seems to load correctly (there is a check in the Templates and
Addins under the Tools menu) but Outlook does not seem to fire the AutoExec
sub when I start a new email message. I know this because I have a MsgBox in
the AutoExec sub which is not fired.

When I start Word first, everything is OK and the template executes
correctly and the AutoExec is fired. But when I start Outlook first, the
AutoExec sub is not fired.

Can anyone help me with this problem please?

Thanks in advance.
Word Heretic - 09 Feb 2005 00:27 GMT
G'day "koolnuts" <koolnuts@discussions.microsoft.com>,

0 u can do - this is by design to make word transparent to the Outlook
user. Best you can do is include a toolbar button to explicitly call
your code. I would avoid using Word as email editor though - it causes
massive problems.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

koolnuts reckoned:

>I have a Word global template located under STARTUP which has an AutoExec sub
>that runs some initialisation routines.
[quoted text clipped - 13 lines]
>
>Thanks in advance.
 
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.