Application.FindKey (Word)

Returns a KeyBinding object that represents the specified key combination.

You can use the BuildKeyCode method to create the KeyCode or KeyCode2 argument.

FindKey (KeyCode, KeyCode2)


CustomizationContext = ActiveDocument.AttachedTemplate 
FindKey(KeyCode:=BuildKeyCode(wdKeyAlt, wdKeyShift, _ 
 wdKeyF12)).Disable

Arguments

The following argument is required

KeyCode (Long) - A key you specify by using one of the WdKey constants.

Optional arguments

The following argument is optional

KeyCode2 (WdKey) - A second key you specify by using one of the WdKey constants.

Here you can find possible values for WdKey