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
Post a Comment