I have 2 dot files that load from the startup path. Both
contain macros. One file needs to call a macro from the
other file. I have this part working fine. What I want
is if the user runs the macro that calls the macro from
the other file to have a custom error message that says
file x is missing and must be loaded in the startup path.
I've tried creating my own message using the "on error
goto" statement but it isn't working. Word keeps kicking
up its message "compile error in hidden module". Any way
to stop this message and show my own so that the user
actually knows what to do to correct it? Thanks.

Replace Word's Error Message by Kevin

Kevin
Mon Sep 15 15:04:07 CDT 2003

I probably should have clarified a bit more. The error
would only occur when the dot file with the macro that is
being called is missing, otherwise no error would be
generated.

>-----Original Message-----
>I have 2 dot files that load from the startup path. Both
>contain macros. One file needs to call a macro from the
>other file. I have this part working fine. What I want
>is if the user runs the macro that calls the macro from
>the other file to have a custom error message that says
>file x is missing and must be loaded in the startup
path.
>I've tried creating my own message using the "on error
>goto" statement but it isn't working. Word keeps kicking
>up its message "compile error in hidden module". Any way
>to stop this message and show my own so that the user
>actually knows what to do to correct it? Thanks.
>.
>