View Single Post
 
Old 08-12-2014, 01:17 PM
rjrichar40 rjrichar40 is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Aug 2014
Posts: 11
rjrichar40 is on a distinguished road
Default Keybinding 3 keys throws an "issue"

Trying to set up HotKeys, and using 2 keys works fine. I try to add 3, and I get the dreaded invalid parameter message. Could it be that because I am using Alt+2 in other places (as well as Alt+H) that it gets confused?

Code is:
.KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyAlt, wdKeyH, wdKey2), _
KeyCategory:=wdKeyCategoryCommand, _
Command:="H2"
Reply With Quote