Jaun Pablo G...Mr MVP - Help Required

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
I noticed from searching the archives that you helped a poor soul with some pop-up menu related items.

In short - I am trying to basically remove the shortcut menus from the sheet tabs in a workbook (I guess this is the standard shortcut menu??) - I know how to remove it I guess I just need to know how to call it? (or any shortcut menus for that matter)

Thanks a lot
Luke
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Sorry found it on the MS Developer web...should have gone there first...

Sub DisableAllShortcutMenus()
Dim cb As CommandBar
For Each cb In CommandBars
If cb.Type = msoBarTypePopup Then cb.Enabled = False
Next cb
End Sub
 

Forum statistics

Threads
1,143,914
Messages
5,721,501
Members
422,369
Latest member
redinator

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top