I recently sought help about how to prevent some users from accessing
certain toolbars.
Stuart McCall provided good advice with:
CommandBars("Menu Bar").Controls("View").Controls("Toolbars").Visibl e
= False
This worked fine in that in the View menu the Toolbars option is no
longer visible. When it is visible it leads to a submenu listing
toolbars and Customize...
What I had not realised (or had forgotten) is that this same submenu
is available by right clicking in the toolbar, even when the menu item
is no longer visible. How can I prevent this popup from appearing?
or at least edit its contents?