Partager via


OlkCommandButton.Accelerator Property (Outlook)

Returns or sets a String value that represents 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

Concepts

OlkCommandButton Object Members

OlkCommandButton Object