Excel.Tips.Net ExcelTips (Menu Interface)

Removing Items from a Context Menu

Don likes to use the Context menus that appear when he right-clicks on a cell. Once the Context menu is visible, he can press a shortcut key of whichever command he wants to perform. (The shortcut key is the underlined letter for each option on the Context menu.) The problem is that the Context menu has two items that use the same shortcut key: Copy and Create List. Since he never uses the Create List option, Don would love to get rid of it completely, so that only the Copy command is initiated by the C shortcut key.

The only way to change the Context menus is through a macro. The code to perform such a change is identical to the code used for other menus or command bars. There is a huge discussion (much too big for this tip) on how to make these types of changes in the Microsoft Knowledge Base, at this address:


Additional information, specific to Context menus (what Microsoft confusingly calls Shortcut menus), can be found in this Knowledge Base article:


While there is a wealth of information in these two articles, the actual code to modify the Context menu that appears when you right-click a cell is relatively simple. In fact, it can be boiled down to a single-line macro:

Sub RemoveCreateList()
    Application.CommandBars("Cell").Controls("Create List...").Delete
End Sub

Run the macro, and the Create List item is gone. You could remove any other item from the menu by simply replacing the "Create List..." text with the exact wording of the menu item you want to remove. When you later want to restore the menu, you run another single-line macro to reset it:

Sub ResetMenu()
End Sub

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3089) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Related Tips:

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!


Leave your own comment:

  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*What is 5+3 (To prevent automated submissions and spam.)
           Commenting Terms

Comments for this tip:

Stan Z    08 Apr 2016, 16:48
Allen, This remove context from menu tip is almost what I was looking but would want the ability to add custom ribbon features similar to the copy clipboard and then pin useful ones. Ideally, The shortcut ribbon is useful to put frequently used features easy to access. Is there an app/ feature to make a custome excel ribbon available during right clicks? Thanks for your time.

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us


Advertise with Us

Our Privacy Policy

Our Sites


Beauty and Style




DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)



Home Improvement

Money and Finances


Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Our Products

Helpful E-books

Newsletter Archives


Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2016 Sharon Parq Associates, Inc.