KeyBindings.Context property (Word)

Returns an Object that represents the storage location of the specified key binding. Read-only.

Syntax

expression. Context

expression A variable that represents a 'KeyBindings' collection.

Remarks

This property can return a Document, Template, or Application object. Built-in key assignments (for example, CTRL+I for Italic) return the Application object as the context. Any key bindings you add will return a Document or Template object, depending on the customization context in effect when the KeyBinding object was added.

See also

KeyBindings Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.