The information in this article applies to:
SYMPTOMS
If you use an Exit macro in a protected form document to position the
insertion point into an unprotected section of the document, Word for
Windows positions the insertion point in the next FORM field in your
document. This happens regardless of whether your Exit macro reprotects the
document.
Notice that Word positions the insertion point in the next FORM field
instead of leaving it after the word "Testing". In addition, you can no
longer insert paragraph marks or tabs in your document, and the BACKSPACE
key does not work. You must close and then reopen your document to regain
full Word functionality.
CAUSE
If your Exit macro re-protects the form document, Word moves to the next
FORM field by design. In a protected document, you can position the
insertion point only in FORM fields.
STATUSMicrosoft has confirmed this to be a problem in the versions of Word listed above. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. WORKAROUND
Create an Exit macro that unprotects your document and then calls another
macro to move the insertion point in your document. The following two
sample macros demonstrate this workaround (In these examples, the first
section needs to be a protected section):
Exit Macro (Name: MyMacro1)
Secondary Macro (Name: MyMacro2)Note: The name of this macro must be the same as the name you use in the OnTime statement in the first macro.
The following sample Exit macro reprotects your document after the
secondary macro runs:
Additional query words: winword 6.0 word6 7.0 word95 word7
Keywords : |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |