Cursor locked

L

Larry

Occasionally, after running certain macros, the cursor in Word 97 is
frozen. The document is still active, the title bar of Word is active,
yet the cursor has stopped blinking, and the only way to get it to start
blinking again, and thus free up other commands, is to click in the
document window with the mouse.

Note: I am NOT talking about a situation where the Word window is not
the active window and I need to shift the focus to it. The Word window
is already active, yet the cursor is frozen.

For example, I have macro that opens a certain document. If when I run
this macro, Document1 is in the Documents collection, Document1 is
closed when the macro runs AND the new document opens with the cursor
frozen. If Document1 is not open when the macro is run, this problem
does not occur.

Is there any code I can add to the end of a macro that will prevent this
from happening?

Larry
 
H

Helmut Weber

Hi Larry,
adding
Selection.EscapeKey
might help.
Greetings from Bavaria, Germany
Helmut Weber
"red.sys" & chr$(64) & "t-online.de"
Word 97, W98
 
L

Larry

I stuck in Selection.EscapeKey at the end of the macro, it didn't fix
the problem.

Larry
 

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