Excel: Keyboard Shortcut Key Does Not Appear CorrectlyLast reviewed: July 16, 1997Article ID: Q89183 |
The information in this article applies to:
SUMMARYIn a Microsoft Excel custom dialog box, a single text item (number 5) can have multiple lines if an appropriate width and height is specified for the item. However, in Microsoft Excel for Windows, using an ampersand (&) to assign a keyboard shortcut for selecting the associated edit box or list box will result in an underscore being added not only to the first line, but to each subsequent line in the text string. The underscore in the subsequent lines appears in the same position as the underscore in the first line. Only the letter underlined in the first line will activate the associated edit box or list box. In Microsoft Excel for the Macintosh, if a width and height is specified for the text item, the underscore will not appear in either a single line or multiple line text item when the dialog box is displayed.
MORE INFORMATIONUsing an ampersand to designate a keyboard shortcut will only work correctly with single line text items. If you have multiple lines and wish to use a keyboard shortcut, use a separate text item for each line.
Example
Breaking the multiple line text item into 3 single line text items as in the following definition table will allow the underline to appear normally.
B1: C1: D1: E1: 320 F1: 14 G1: H1: B2: 1 C2: 201 D2: E2: 88 F2: G2: OK H2: B3: 2 C3: 200 D3: 34 E3: 88 F3: G3: Cancel H3: B4: 5 C4: 18 D4: 6 E4: F4: G4: E&nter your name, B5: 5 C5: 18 D5: 20 E5: F5: G5: rank and serial B6: 5 C6: 18 D6: 34 E6: F6: G6: number B7: 6 C7: 18 D7: 68 E7: 160 F7: G7: H7: REFERENCES"Microsoft Excel User's Guide 2," version 4.0, pages 263-280
|
Additional query words: 3.0 3.00 4.0 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |