Start of Word does not fire AutoExec-macro

B

Bo Hansson

My Word 2003 VBA-application (in XP-environment) is dependent on an
autoexec-macro, supposed to be fired when Word starts.
My code is contained in Words startup directory and it works as expected on
all computers but one.

Any ideas why this beast does not execute the autoexec-procedure?

/BosseH
 
H

Helmut Weber

Hi Bo,

is Word the Outlook editor there?
Even activating the spell-checker in Outlook
might be enough, as this creates an instance of word.

To the best of my knowledge.

Greetings from Bavaria, Germany

Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 
B

Bo Hansson

Thanks Helmut,

You are probably right.
Any ideas how to handle cases like that?

/BosseH
 
J

Jonathan West

Bo Hansson said:
Thanks Helmut,

You are probably right.
Any ideas how to handle cases like that?

There is no way to force Autoexec to run in such cases. Therefore, you have
to work around the porblem, for instance having the Autotext code run the
first time the user clicks any button on the add-in's toolbars
 

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