Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

accelerator command buttons

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Accelerator on command buttons

Accelerator on command buttons

ResolvedVersion 2003

Chris has attended:
Excel VBA Intro Intermediate course

Accelerator on command buttons

A userform has a command button called Delete Global Names. The accelerator key for this button is D. I want the command button to show an underscore under the 'D' of Delete to indicate to the user what the accelerator key is. How do I do that?

RE: Accelerator on command buttons

Hi Chris, thanks for your query. Make sure the caption of the command button reads "Delete Global Names". Then, with the command button selected, add the letter "D" to the Accelerator property in the bottom left hand properties panel. That should do the trick!

Hope this helps,

Anthony

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Validating text entries

1. Select the range of cells.
2. From the Data menu, select Validation.
3. Select the Settings tab.
4. From the Allow dropdown list, select Custom.
5. In the Formula box, enter the following formula:

=IsText (A1)

where A1 is the first cell in the range.
6. Click OK.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.