Application.CustomizationContext (Word)

Returns or sets a Template or Document template that represents the template or document in which changes to menu bars, toolbars, and key bindings are stored. Read/write.

Corresponds to the value of the Save in box on the Commands tab in the Customize dialog box (Tools menu).


CustomizationContext = NormalTemplate 
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyControl, _ 
 wdKeyAlt, wdKeyW), _ 
 KeyCategory:=wdKeyCategoryCommand, Command:="FileClose"