Menu ID of Shortmenu (Right click)

J

Jos Vens

Hi,

How can I determin the menu-id of the right-click menu. I'd like to change
the copy and paste items of it.

Thanks
Jos Vens
 
G

Guest

There are probably 3 menu's that you are looking for...

Cell, Row and Column

Dim cbrCellMenu As CommandBar
Dim cbrRowMenu As CommandBar
Dim cbrColumnMenu As CommandBar

Set cbrCellMenu = Application.CommandBars("Cell")
Set cbrRowMenu = Application.CommandBars("Row")
Set cbrRowMenu = Application.CommandBars("Column")
 
J

Jos Vens

Thanks everyone!
Jos


Jim Thomlinson said:
There are probably 3 menu's that you are looking for...

Cell, Row and Column

Dim cbrCellMenu As CommandBar
Dim cbrRowMenu As CommandBar
Dim cbrColumnMenu As CommandBar

Set cbrCellMenu = Application.CommandBars("Cell")
Set cbrRowMenu = Application.CommandBars("Row")
Set cbrRowMenu = Application.CommandBars("Column")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Cell properties dialog 5
Flip comment to left 3
Shortcut of menu-item 2
Change Excel Menu 2
File size 2
Change font and size of a textbox 2
ShortcutKey assigning in VBA 4
Rename File 2

Top