Global.CustomizationContext Property
Word Developer Reference |
Returns or sets a Template or Document object that represents the template or document in which changes to menu bars, toolbars, and key bindings are stored. Read/write. .
Syntax
expression.CustomizationContext
expression A variable that represents a Global object.
Remarks
Corresponds to the value of the Save in box on the Commands tab in the Customize dialog box (Tools menu).
Example
This example adds the ALT+CTRL+W key combination to the FileClose command. The keyboard customization is saved in the Normal template.
Visual Basic for Applications |
---|
|
This example adds the File Versions button to the Standard toolbar. The command bar customization is saved in the template attached to the active document.
Visual Basic for Applications |
---|
|
See Also