accelerator command buttons

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

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

Accelerator on command buttons

resolvedResolved · Medium Priority · Version 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:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

View all Excel hints and tips


Server loaded in 0.07 secs.