Variable not defined when using template with macro on network

A

Amiranda

In a network where we get the templates from the common files, one user gets
following error message (see below). They work fine with other computers,
it's only one computer where this happens.

Is there some registry settings that can be done to correct this, or is
reinstallation a solution?? What do you think?? Anyone knows whats wrong??

This is what happens:

The problem occurs right when I create a new document from the general
template New document from templates > Group. It opens immediately MS visuals
basic with a message compile error stating variable not defined with two
button OK and help. Then

I) if I click OK nothing happens and I have to close the MS visual (which
then says it will stop the debugger). The word document is back on screen but
has lost its address field on the top right and there are no pops up to fill
in the fields.

2) If I click on help it gives this which might be clear for Mr. Gates but
not really helpful for me. .
Variable not defined You use the Option Explicit statement to protect your
modules from having undeclared variables and to eliminate the possibility of
inadvertently creating new variables when typographical errors occur. This
error has the following cause and solution:
You used an Option Explicit statement to require the explicit declaration of
variables, but you used a variable without declaring it.
Explicitly declare the variable, or change the spelling of the variable to
match that of the intended variable.
For additional information, select the item in question and press F1 (in
Windows) or HELP (on the Macintosh).

The problem also happens with the letter dot but at a different stage. I
fill in the pre-required fields - click on OK and then a message error
stating "run time error 424" offering to debug pops up. But clicking on debug
does not gives anything. So I then click on End.
 
B

Beth Melton

A "Variable not defined" error means there is an error in a macro that
is attempting to run rather than an issue with the Word installation.

In other words, you need to determine if there are macros on the
computer exhibiting the behavior that shouldn't be running or go to
the creator of the template and let them know there is an error in the
code they have written.

If they didn't include macros in their template then can you
copy/paste the macro code for us to take a look at?

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 

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