Right-click Combo Event

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi there,

I'd like to add a right click context menu ("Delete selected item") to a
combobox so that I can right click on an item and remove it from the
combobox's source range and the combobox itself.

I'm happy with the remove code, but would appreciate help with the right
click event.

Thanks in advance

John
 
Seems like you would use the mousedown event and look at the button argument
to see if it is a right click.

You could then have the code position a commandbutton or label next to the
combobox.
 
Perfect. Thanks Tom.

In the end I just used a YesNo MsgBox having got the list item from your
MouseDown event.

Thanks again

John
 
Back
Top