2012

Table Of Contents
As with the previous examples, a DIESEL expression can be used to
simultaneously disable and mark a command item.
To gray out (disable) a command's menu or ribbon button label
1 Click Manage tab Customization panel User Interface.
2 In the Customize User Interface Editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the
menu that contains the command you want to disable.
3 Select the command you want to gray out.
4 In the Properties pane, in the Name field, add a tilde (~) or add the desired
DIESEL expression to the beginning of the command.
168 | Chapter 4 User Interface Customization