context menu

  1. F

    Context menu - from Addin

    I'm using this code to load a context menu from an addin. It works, except that when the addin is deselected, the context menu still shows. The menu consists of msoControlButton and msoBarPopup. WORKBOOK Option Explicit Private Sub Workbook_Open() Call cell_menu_normal Call...
  2. F

    Run 2 macros with OnAction

    With a custom context menu, macro is run with ".OnAction". See: Customizing Context Menus with VBA in every Excel version Is there a way to run 2 macros at the same time, without creating another Sub which calls both.
  3. F

    Cell context menu - Sort

    I've been using this to modify the context menu (right-click) in Excel. The method below is when in Page Break preview, which is different to Normal View. "+3" is the difference, at least for Office 365. Not sure if Sort was available initially, as I may have deleted before. Trying to...
  4. F

    Custom context menu with sub-menus

    Is it possible to have a 3rd level of context menu, using traditional VBA coding? Similar to this example which uses RibbonX. Customizing Context Menus in Win Microsoft Excel 2010 and higher and also Mac Excel 2016 and higher
  5. B

    What is this context menu and how can I remove it, please?

    Hi all In my vba macro I have set it so only certain cells can be selected (the ones within the brown border) I have turned off cell right-click context menu I have disabled drag and drop etc. (Application.CellDragAndDrop = False) I thought I had unwanted user-mouse fiddling cracked, until...
  6. 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...
  7. rediffusion

    How to pull data from a Sheet to create a Context Menu? How to combine two VBA codes?

    Cross-post! I find Add-in on Ron de Bruin's page, there the whole thing pulled together with realized data Sheet. Direct link to download Workbook. The fact is that slowly becoming more buttons and this is difficult to mess around. Therefore, I liked the version of Ron de Bruin (everything is...
  8. rediffusion

    Application.CommandBars(“vbaPopup”).ShowPopup ··· how can I add `Submenu` (Ron de Bruin)?

    Cross-post is here! I have «Microsoft Office 365 2019». First of all i want to tell how <code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco...
  9. rediffusion

    Creating a `PopUp Menu` using 'CommandBarPopup' what other methods are there? Context Menu.

    I stumbled on this method add a `PopUp Menu` from Ron de Bruin (I olso write to him but no react). It describes how to add a "Menu" is there code to add for example "Gallery" (I'm more interested in the gallery), "ToggleButton" or "SplitButton" ?
  10. rediffusion

    Context Menu

    Hi all! Found the script "VBA" which is a little tweaked to fit your needs: Sub Special_note() Dim myComm As Comment If Not ActiveCell.Comment Is Nothing Then If MsgBox("The cell already contains a note, delete?", 4) - 7 Then ActiveCell.Comment.Delete Else: Exit Sub End...
  11. N

    Attempting to customize context menu

    Hello! I am currently trying to customize the "right click" or context menu for my project in excel 2010. After doing some online research, I was able to come across some code that seemed fairly straightforward to me for getting rid of menu options I didn't want and adding new ones in. My...
  12. V

    Customize Excel Ribbon using VBA and RibbonX

    How do i customize the particular menu which comes when you right-click on the Ribbon in Excel ? It has options like: "Add to Quick Access Toolbar" "Customize Quick Access Toolbar" "Customize Ribbon" "Minimize Ribbon" I have code to customize the normal context menus in Excel 2010 using...
  13. A

    Customizing context menus

    I am running Excel 2013. Using VBA, I have customized the context menu so that when I right-click on a cell it shows only two options: Edit Name and Remove. However, above these two remaining options, there is a rectangle with buttons representing various formatting changes I could make to the...
  14. J

    VBA SendKey for Menu Key(Context Menu Key,Application key)

    I am needing to copy something from another application SendKey "^c" will not work because for some odd reason CTRL + C manually will not work. All tho i can use the Menu Key go down to Copy and press enter and it copies just fine. Which lead me to try SendKeys ("+{F10}") but had no luck...
  15. E

    Slicer - Disable Context Menu when Right Clicking on Slicer

    Hi All, I am new to excel 2010 and I just wanted to see if there was any VBA code or point and click method to disable or prevent the context menu from displaying when right clicking on a slicer? Thanks!
  16. M

    Shapes Context menu 2007

    Hi All, I have a piece of code (pasted below) that is not displaying the context menu on shapes, in 2007 (works in 2003). The "AddRightClick" code adds an item "NEW ITEM", displayed in msgbox using "CheckRighClick" code , however does not show it when right clicked on the shape. i am not sure...

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