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
(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