Article ID: 309136 - Last Review: February 16, 2006 - Revision: 1.4 How to disable a custom menu command and toolbar button by using a system policy in Office XPThis article was previously published under Q309136 On This PageSUMMARY You can create a system policy to remove a custom command
and its corresponding toolbar button from a Microsoft Office XP program. For example,
you can remove a command that was created by a custom program that is installed
on users' computers. This article describes how you can disable a custom
command and toolbar button by using a system policy setting. Disable a Custom Menu Command and Toolbar Button by Using a System Policy SettingIn order to disable a custom command or toolbar, you must know the control ID of the menu command or toolbar button that you want to disable. In many cases, predefined menu commands across Office programs share the same control ID; therefore, you can try to turn off a menu command by using the same control ID as found in another program.You can disable custom menu commands and toolbar buttons, even if they are not defined within a policy template. If you have the control ID, you can remove any menu command or toolbar within the program. To disable a custom menu command and toolbar button with a policy: Microsoft Windows NT
Microsoft Windows 2000 or Microsoft Windows XP, Using Group Policy Snap-in
HKCU\Software\Policies\Microsoft\Office\10.0\Excel\DisabledCmdBarItemsList
When Excel starts, it examines this registry setting and verifies
whether values are present. If the entry is "3", the Save menu command is turned off. If the value is later removed from
the list, the Save menu command is turned back on.Value name: TCIDx Data type: REG_SZ (string) Value data: "<control ID>" This is a unique registry entry, because it is a list of TCIDx entries. The x is incremented by 1 for each entry that is added to the list. Examples of possible TCIDx entries in the registry include:
TCID1 = "3" TCID2 = "748" TCID3 = "20" TCID4 = "21" APPLIES TO
| Article Translations
|
Back to the top
