Word error: "code execution has been interrupted"

I

Ignatius

The subject error occurs regardless of what code is being executed. It can
be code from a trusted template, or two lines of code in This Doc. When the
function is executed, VBA Editor displays but no other errors occur. In
fact, code that I know works on 500+ PCs gets interrupted by this error. I
can walk through the code once VBA Editor displays. But this is obviously a
problem since non-technical users shouldn't have to do so.

When searching on the Internet, it doesn't seem that anyone has found a
reason why is happens, nor how to fix it.

The error is the same as if you press CTRL-Break during execution of a
custom function.

Any ideas?
 
R

rims

Ignatius said:
The subject error occurs regardless of what code is being executed. It can
be code from a trusted template, or two lines of code in This Doc. When the
function is executed, VBA Editor displays but no other errors occur. In
fact, code that I know works on 500+ PCs gets interrupted by this error. I
can walk through the code once VBA Editor displays. But this is obviously a
problem since non-technical users shouldn't have to do so.

When searching on the Internet, it doesn't seem that anyone has found a
reason why is happens, nor how to fix it.

The error is the same as if you press CTRL-Break during execution of a
custom function.

Any ideas?
 
I

Ignatius

The following resulted in a fix:

1) Close all Word documents and the Word application
2) Rename all .pip Word related files to old_Word_11.pip or old_Word.pip
located in:
- C:\Documents and Settings\your_user_ID\Application Data\Microsoft\Office
- C:\Program Files\Microsoft Office\OFFICE11
- C:\WINDOWS\CORE\OFFICE_2003_MSI_LOCAL_XP\FILES\PFILES\MSOFFICE\OFFICE11

The above was performed on XP with Word 2003. It rid the annoying Word error.
 
I

Irina

This does not work at all times.
For example, I had one user with this error last week and your fix worked
for her.
Win XP and office 2003
I have another user on a different machine, win XP and office 2003 - this fix
does not work for her. She has the same identical templates and add-ins as
the first user.
DO YOU HAVE ANY IDEAS ON THIS?
THANKS
 
I

Ignatius

Irina, try running "winword /r" and/or "winword /a" from Start>Run to reset
Word. If this doesn't work, then I would recommend reinstalling. It sounds
like Word is severly corrupt. Although, I know that reinstalling is rarely
an option due to coporate configurations.
 

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