Microsoft KB Archive/109424

= Microsoft Knowledge Base =

XL: How to Use the Help Button in Custom Dialog Boxes
Last reviewed: September 13, 1996

Article ID: Q109424

The information in this article applies to:


 * Microsoft Excel for Windows, versions 5.0, 5.0c
 * Microsoft Excel for the Macintosh, versions 5.0, 5.0a
 * Microsoft Excel for Windows NT, version 5.0
 * Microsoft Excel for Windows 95, version 7.0

SUMMARY
In Microsoft Excel, when you format dialog box buttons, it is possible to format one button in the dialog box as a Help button. The Help button has special functionality assigned to it that allows you to summon help by pressing the F1 key.

MORE INFORMATION
To assign the Help attribute to a button in a dialog box, do the following:


 * 1) Select the button.
 * 2) From the Format menu, choose Object.
 * 3) Select the Control tab.
 * 4) Select the Help check box.
 * 5) Choose OK to accept the change.

Note that only one button in a dialog sheet can be the Help button: if you assign another button to be the Help button, the original Help button loses the Help attribute.

When you assign a button to be the Help button, that button will be activated when you press the F1 key while the dialog box is active.

To use the Help button feature, you should assign the Help button to run a subroutine that displays some sort of help topic, such as a .HLP file.