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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -