Outlook not firing an AutoExec sub in a Word global template

K

koolnuts

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.
 
W

Word Heretic

G'day "koolnuts" <[email protected]>,

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top