Application.KeyString (Word)

Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).

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

KeyString (KeyCode, KeyCode2)


CustomizationContext = ActiveDocument.AttachedTemplate 
MsgBox KeyString(KeyCode:=BuildKeyCode(wdKeyControl, _ 
 wdKeyShift, wdKeyA))

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