Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete Customize item in the shortcut menu in Execl 1

Status
Not open for further replies.

Bitaoo

Programmer
Dec 18, 2002
81
US
Hello guys,

Does anybody know how can I invisible the Customize...
item on the shortcut menu in Excel? As you know when
you right-click a button on any toolbar or the menu bar
in Excel you will see the shortcut menu.

Thanks for your help in advance.
--Bita
 
Hi,

The following bit of code will Toggle the "visibility" of the complete shortcut menu that pops-up when you right-click a toolbar, and the Menu View->Toolbars:
Code:
Sub ToggleToolbarsCustomize2()
Dim tb As CommandBar
Set tb = CommandBars("Toolbar List")
tb.Enabled = Not tb.Enabled
End Sub

I hope this helps!


Peace! [peace]

Mike

Never say Never!!!
Nothing is impossible!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top