reset keybinding word vba macro
Posted on 2014-01-12
I found this code on the internet, VBA Express website, I believe:
' \\ Do customization in THIS document
.CustomizationContext = ThisDocument
' \\ Add keybinding to this document Shorcut: Alt+0
.KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyAlt, wdKey0), _
"TestKeybinding" is a sub in another module, "module2"
If I wanted to reset the keybindings back to the default setting, how should the code be modified? Would I put it at the end of module2, or at the end of module1?