Invoking Word from Outlook: Autoexec Doesn't Exec

P

PathSmart

When I invoke Word from Outlook, the AutoExec:Main module seems not to run
(certain menu bars created by the AutoExec:Main module are not created. I
planted a test <MsgBox "The Autoexec macro has run"> inside the AutoExec:Main
procedure to test the theory and when I open Word via Outlook, it does not
appear.

Is this on purpose? Is there any way to cause the autoexec procedure to
run when Word loads via Outlook? Other routines depend upon the stuff that
AutoExec sets up. I get a runtime errors when I try to run other macros inside
this scantily adorned version of Word. (I know that I can trap the runtime
errors and recreate the necessary setting, but that seems to add needless
coding to my add-in.)

Thanks,

Roy
 

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