commandbars

  1. R

    Prevent changes to specific worksheet (VBA)

    Hi, I would like to disable the option to delete, move, copy or rename one specific worksheet in a workbook, regardless of the activated worksheet in the workbook. I cannot protect the workbook structure, because I want to still be able to delete other worksheets in this workbook without the use...
  2. K

    Worksheet_BeforeRightClick - run macro automatically when right click on cell and select "New Note"

    Dear Guys, I have an older macro which ran well in earlier versions: when I right clicked on a cell and selected "Insert Comment": a macro ran automatically: of course I added following code to the appropriate sheet Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As...
  3. Devin

    Shortcut Key Launch Short-circuits Macro

    I have a bit of code that will work when launching via the ribbon (or from VB), but not will not work when launched via a shortcut key. The activate tab box will pop up when launched via the shortcut key, but it won't go to the tab selected. This is for the box that pops up when there are more...
  4. L

    Multiple FindControls ID's

    I'm trying to create a macro to remove multiple items from the right click menu within a sheet. Thus far I have: Dim Ctrl As Office.CommandBarControl For Each Ctrl In Application.CommandBars.FindControls(ID:=855) Ctrl.Enabled = False How can I in-cooperate multiple menu items to...
  5. S

    converting CommandBars VBA code to work with ribbons

    Hi all, Brand new to this forum, but not to Excel. I've been coding VBA for many years. An app that I created 7 or 8 years ago does a lot of manipulation of the commandbar controls, including hiding and/or disabling many of the items on built in commandbars and adding custom items to those...
  6. Jon von der Heyden

    Cannot delete CommandBar Control

    Hi All Yet another little problem that I am struggling to solve. I have a userform frmSetup. It has once command button and when clicked it is supposed to run routine 'BuildUI'. 'BuildUI' will also trigger another routine right at the start, callled 'ClearUI'. ClearUI is supposed to clear...
  7. B

    Toolbar Macro Template

    I need a macro that will hide all visible toolbars with the exception of select few. I have tried everything. Nothing seems to work. Loops do not seem to work well with "Application.commandbars". I need a macro that will only display the following...

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
Back
Top