View Single Post
 
Old 10-13-2012, 01:30 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Excel VBA: Key Bindings?

I want to add a key binding with Excel VBA. I've searched the Internet for this and only Word VBA key binding was found. The way we do in Word cannot be done in Excel:

Code:
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyAlt, wdKey0), _          KeyCategory:=wdKeyCategoryCommand, _          Command:="TestKeybinding"
How are the codes in Excel then?
Thanks in advance.
Reply With Quote