Word Macro problem

J

John Crews

I wrote some VBS Word macros and the user states:
"if the user clicks on a field to fill it in, it will kick them out of Word
and the Visual Basic debugger comes up."

Any suggestion on how to stop this when a user is tabbing through some
fields that are attached to macros?

John
 
J

Jay Freedman

I wrote some VBS Word macros and the user states:
"if the user clicks on a field to fill it in, it will kick them out of Word
and the Visual Basic debugger comes up."

Any suggestion on how to stop this when a user is tabbing through some
fields that are attached to macros?

John

Evidently there is some unhandled error in the code. That might be a syntax
error, but it's more likely to be some situation in the user's particular
document that isn't properly handled by the code (for example, trying to access
more than the existing number of fields or tables or something).

Ask the user for the _exact_ wording of the error message, if any, and the
location of the yellow highlight in the VBA debugger. Then post the error
message and the complete code of the macro here. Without that information, we
can't help much.
 

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