Share via


KeyBindings.ClearAll Method

Word Developer Reference

Clears all the customized key assignments and restores the original Microsoft Word shortcut key assignments.

Syntax

expression.ClearAll

expression   A variable that represents a KeyBindings collection.

Example
This example clears the customized key assignments in the Normal template. The key assignments are reset to the default settings.

Visual Basic for Applications
  CustomizationContext = NormalTemplateKeyBindings.ClearAll

See Also