Microsoft KB Archive/38615

Word Err Msg: Not a Valid Key Code; Must Be 1 or 2 Characters

PSS ID Number: Q38615 Article last modified on 11-02-1994

4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

Word version 4.00 error message: “Not a Valid Key Code”

Word version 5.00 error message: “Not a valid key code; must be 1 or 2 characters”

Word version 5.50 error message: “This key code is not valid.”

The following are causes and workarounds for the message:

  The key code you entered in the “key code:” field of the Gallery menu Insert or Name command is more than two characters. Enter a key code of only one or two letters or numbers. 

In Word 5.50, you entered a key code that has more than two characters in the Insert New Style command. The Insert New Style command will appear only if the active window contains a style sheet.

  The first character of the key code you entered is not valid as a first character. Enter a letter or number as the first character. 

KBCategory: kbother kberrmsg KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.