Microsoft KB Archive/261369

= OL98: How to Use an Ampersand in a Form Name, Menu or Control =

Article ID: 261369

Article Last Modified on 6/10/2000

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q261369





SUMMARY
This article describes how to use an ampersand (&) in a form name, menu or control.



MORE INFORMATION
When you attempt to have an ampersand (&) appear in a form name, custom menu name or control name, it is necessary to use two ampersands (&&).

A single ampersand is used to designate an access or accelerator key. When you view a form name with a single ampersand in it, the character immediately following the ampersand is underlined and that character is that form's associated access key.

When you use an access key, you can click a menu or a control if you press ALT and type a designated character. When the menu is open, you can click a command by pressing ALT and the letter (the access key) that is assigned to the command. For example, ALT+E then P clicks Paste from the Edit menu because the letter &quot;P&quot; is the access key for the Paste command. Access key assignments appear as an underlined letter in the menu command caption.

To use an ampersand in a custom form name:
 * 1) Open and customize a form that you want to publish.
 * 2) On the Tools menu, click Forms, and then click Publish Form.
 * 3) In the Display Name box, type the form name by using two ampersands.

When you use &quot;B && B&quot; as the form name, the form name is &quot;B & B&quot;.

NOTE: If you view the form title when you click a form in the Choose Form or Design Form box, the title of the form appears with both ampersands. In the example above, the form appears as &quot;B & B&quot; in a menu, but as &quot;B && B&quot; in the Choose Form or Design Form box.

