Share via


OlkCommandButton.Accelerator Property

Outlook Developer Reference

Returns or sets the accelerator or hot key for the control. Read/write.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.Accelerator

expression   A variable that represents an OlkCommandButton object.

Remarks

The default value is an empty string, meaning there is no hot key. If the property is set with a string of more than one character, the value will be truncated to the first character.

You cannot use digits in an accelerator.

See Also