Some Keys Don't Work After Exit Macro Unprotects Document

ID: Q120092


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c


SYMPTOMS

If a macro that runs when you exit a FORM field unprotects the document or a section of the document, the following keys do not work in Word for Windows:

HOME
END
PAGE UP
PAGE DOWN
BACKSPACE
ENTER
For example, if you assign the following macro to a FORM field as an Exit macro, the above keys no longer work in Word:

Sub MAIN
 ToolsUnprotectDocument
End Sub 
Note: To assign a macro to a form field that runs when you exit the field, double-click the FORM field. Under Run Macro On in the Form Field Options dialog box that appears, select the macro name from the Exit list.

By contrast, the keys do not lose functionality if you do either of the following:
  • Instead of running an Exit macro, unprotect the document by choosing Unprotect Document from the Tools menu.


  • Add an unprotected section at the end of your document and then run the Exit macro that unprotects your document.



STATUS

Microsoft has confirmed this to be a problem in the versions of Word listed above. This problem was corrected in Word version 7.0 for Windows 95.


REFERENCES

"Microsoft Word User's Guide," version 6.0, pages 317-318

Additional query words: 6.0 winword word6

Keywords : kbfield
Version : WINDOWS:6.0,6.0a,6.0c
Platform : WINDOWS
Issue type :


Last Reviewed: January 7, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.