Microsoft KB Archive/196879

= WD97: Ampersand in File Name Not Included When Added to Menu =

Article ID: 196879

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q196879





SYMPTOMS
When you add a file name that contains an ampersand (&) to a menu in Microsoft Word, the ampersand does not appear.

For example, a file named "Jack&Jill" appears as "JackJill" on the menu.



CAUSE
This behavior is by design. The ampersand is used in a menu to designate which character of the menu item name to underline. This underlined character is used as a shortcut to choose the menu item when you use the keyboard.



WORKAROUND
To display a file name that contains an ampersand, save the file with a second ampersand in front of the first before you add the file name to your menu, for example:

Jack&&Jill

When you add this file name to a menu, the name appears correctly, as:

Jack&Jill



MORE INFORMATION
To add a file name to a Word menu, follow these steps:
 * 1) In Word, open the file you want to appear on your Word menu.
 * 2) On the Tools menu, click Customize.
 * 3) On the Toolbars tab, under Toolbars, click to select the Menu Bar check box.

NOTE: In Word 97, the Menu Bar check box is already selected by default.
 * 1) Click to select the Commands tab.
 * 2) Under Categories, click to select All Commands.
 * 3) Under Commands, click to select FileOpenFile. In the FileOpenFile box, ensure that your document name appears in the box. If you have multiple documents open, each file is listed in the drop-down list box.
 * 4) Under Commands, drag the FileOpenFile command to the Word menu where you want it to appear, and then click Close to close the Customize dialog box.

Additional query words: missing ampersand & filename file name menu fileopenfile

Keywords: kbprb KB196879

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.