Link to home
Start Free TrialLog in
Avatar of JeromZ
JeromZ

asked on

How to add hot keys to an added control button

How am i able to link hot keys to control buttons created in both Menu file and toolbars?
Avatar of JeromZ
JeromZ

ASKER

Adjusted points to 50
Avatar of JeromZ

ASKER

Adjusted points to 80
Start with use View | Toolbar | Customize. Right-click on the button you want to customize, and change its Name to include an ampersand ( & ) in front of the letter that you want to use as a hotkey with the Alt key.
Avatar of JeromZ

ASKER

Is there any way to do it programmatically using VB, VBA or VBScript?
In Outlook 2000, yes, you have the complete Office CommandBars object to work with. The CommandBarButton.Caption property is the equivalent of the Name in the UI.
Avatar of JeromZ

ASKER

Can show a sample code for me to follow?
ASKER CERTIFIED SOLUTION
Avatar of SMosher
SMosher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial