Microsoft Word >> infinite loop in winword.exe

by Ray Stone » Wed, 07 Jul 2004 23:56:42 GMT

Some months ago, I started getting into an endless loop while
simply typing in text in a word 97 document. I did ctrl-alt-del
and winword.exe was shown as taking up 100% of the CPU. (I'm
using Windows XP.)

I stop the process, restart WORD, reload the document, etc., and
it works for awhile, and then happens again.

I've reloaded winword.exe from my cd and that doesn't seem to
fix the problem.

Looking for others who have had this problem, I ran across a
message on some board that indicated it might be due to a
problem with add-ins. So I deleted all my add-ins, of which
there were two. The problem seemed to go away.

This week it came back.

I need help!! Thanks for any you can give me.

Ray Stone
XXXX@XXXXX.COM



Similar Threads

1. infinite look in winword.exe - Microsoft Word

2. Questions: Infinite Loops, Hyperlinks

1) I am working on a rather complex macro, and occassionaly make a little 
mistake. Unfortunately, being that I am looping through my document, this 
often leads to an infinite loop. How can I stop the macro, without closing 
Word (which results in me losing my changes to the macro).

2) Is there a way in macro code to recogize that I am on a line of text that 
has a hyperlink in it, and to access the hyperlink detail?


3. Help on .NET Word Object Library Range Find.Execute infinite Loop - CSharp/C#

4. Infinite loop

Hi. In every one of my office programs, when I hit the help icon (or from the 
menu), the program tries to access the internet, but goes into an infinte 
loop. the only way out is to reboot. Happens in Word, Excel, publisher, etc. 
Any advice?

5. Infinite loop in Groove 3.1 - Microsoft Office

6. Infinite loop when using track changes

I have been unable to find this problem with Word 2003 documented anywhere.

I have written a VBA macro to iterate thorugh the complete set of tracked 
changes in a Revisions collection of a document.  There are 405 changes in 
this document.  At some point while stepping through the collection via a 
For..Next loop, a deleted Revision object is encountered.  Then the previous 
2 revisions plus the "deleted" revision are repeated (apparently) infinitely 
in the Revisions collection.  The indexes of the 3 repeated changes iterate 
(63, 64, 65) even though they apparenlty occupy successive positions in the 
collection.  Obviously, pointers are going awry somewhere within the 
Revisions collection.

If you step through the tracked changes using the Word toolbar, the same 
thing happens.  When you get to the area where the "deleted" Revision/change 
object is located, Word appears to hang at the same change forever (the 2 
changes prior to the deleted object are in the same table cell).

Anybody have ideas or can anybody point me to potential bug fixes?

7. Infinite Loop Problem - Word Document management

8. StrReverse() function - infinite loop

I have just started program with Word 2002
While trying to reverse each word in a line of text encountered a 
problem: Word enters an infinite loop and stops responding.
Could somebody explain why?
Code:
---------------
Sub TestReverseWords()
Dim myRange As Range
Dim aWord As Object
Set myRange = ActiveDocument.Range(Start:=0, End:=Selection.End)
For Each aWord In myRange.Words
     aWord.Text = StrReverse(aWord.Text)
Next aWord
End Sub
--------------
end code

Thanks in advance.
Mike