View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default Userform button - shortcut key?

Hi Matt,

Put your shortcut letter in the Accelerator property of the control. If the
letter is in the controls caption it will be underlined.

Regards,
Peter T

"MattShoreson"
wrote in message
...

Usually when creating a menu item or the such like an ampersand denotes
which letter you want as a shortcut key.

How can I emulate the same behaviour on a button on a userform?

Cheers in advance,
Matt.


--
MattShoreson
------------------------------------------------------------------------
MattShoreson's Profile:

http://www.excelforum.com/member.php...fo&userid=3472
View this thread: http://www.excelforum.com/showthread...hreadid=542108