Microsoft KB Archive/107540

{|
 * width="100%"|

FormatStyle .KeyCode Argument Doesn't Convert from Word 2.x
'Article ID: Q107540

Creation Date: 23-NOV-1993

Revision Date: 10-SEP-1996' The information in this article applies to:


 * Microsoft Word for Windows, version 6.0

SYMPTOMS

When you run a converted Word 2.x for Windows macro that contains the FormatStyle .Keycode argument, the following error occurs in Word 6.0 for Windows:

Undefined dialog record field. CAUSE

The Word 2.x .Keycode argument is not valid in Word 6.0, and Word does not convert it to the correct ToolsCustomizeKeyboard command. In Word 6.0, you must make all keyboard, menu, and toolbar assignments using the Customize command on the Tools menu.

WORKAROUND

You must manually edit the macro to assign the style to a key combination.

STATUS

We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Kbcategory: kbusage kbmacro KBSubcategory:
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 6.00 winword word6