vba - Add context menu item in Outlook 2016 -


in outlook 2007 following code added menu item context menu when user right clicked mail item. in outlook 2016 not work. code not executed @ all.

sub application_itemcontextmenudisplay(byval commandbar office.commandbar, byval selection selection) ... end sub 

how can add right click menu item in outlook 2016 through vba.

you must through ribbon xml (just ribbon controls) - see https://msdn.microsoft.com/en-us/library/ee691832(v=office.14).aspx


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -