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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -