Auto Open macro error

K

kelly

When users are opening documents they are getting an
error. Compile error in hidden module: macros. If I click
on OK the next error window is a VB error that says:
Run-time error '-2147352573 (80020003"
Can't move focus to the control because it is invisible,
not enabled or of a type that does not accept the focus..
If I choose Debug it always takes me to the Auto Open
macro. I can fix this by going to Tools/Macros/Macros and
deleting the Auto Open macro, but I don't want to do this
every time for every user. Where does the Auto Open macro
come from and how can I permenantly get rid of it?

Thanks.Kelly
 
J

JB

kelly said:
When users are opening documents they are getting an
error. Compile error in hidden module: macros. If I click
on OK the next error window is a VB error that says:
Run-time error '-2147352573 (80020003"
Can't move focus to the control because it is invisible,
not enabled or of a type that does not accept the focus..
If I choose Debug it always takes me to the Auto Open
macro. I can fix this by going to Tools/Macros/Macros and
deleting the Auto Open macro, but I don't want to do this
every time for every user. Where does the Auto Open macro
come from and how can I permenantly get rid of it?

Thanks.Kelly

Hi Kelly,
It's more than likely that you have a Macro loaded in the startup folder
of word which is being executed each time a document opens. Look in
Tools > Templates and Addins and see whats in the list. Normal
installations of word have the startup folder in "C:\Program
Files\Microsoft Office\Office\Startup" and this is most likely where the
template\Addin will be. If this file is not used for anything
constructive you can delete it. But please check with the person who
installed Office as this macro may be required for other things.

If you are the person who installs the applications you may want to look
at how this macro got there and what it's doing. Get some anti virus
software.

HTH

J
 

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