Add Item to Text Context Menu (Outlook 2007) RRS feed

  • Question

  • Hi there,

    This pertains to Outlook 2007. I would like to add a custom item to a context menu. It's the menu that appears when you highlight some text in an email and right click on it (with options Copy, Who Is, Synonyms, Translate).

    I've added items to other context menus before, but I can't seem to find a way into this one. I haven't found a the CommandBar object that is shown for that menu. If anybody knows the name of that, and/or has an example of customizing it, I'd really appreciate it.

    If this is not possible, plan B is to create a custom drop-down menu that does basically the same thing, but it would live in the command bars on top of the view panes (i.e. above Inbox). I'd need to be able to dynamically set the label so it reflects the current thing highlighted. In this case, I'd just need the name of the event that fires when text is highlighted (hopefully there's such a thing) so that the code doesn't have to keep checking what's highlighted.

    Thanks for reading! Hope this all makes sense. Please let me know if you have any questions.

    • Edited by JustAnotherVBDev Tuesday, June 30, 2015 8:41 PM Cleaned up question wording to make it more clear.
    Monday, June 29, 2015 9:55 PM


  • Hi,

    You can have a look at the following article for how to extend the Outlook user interface, including context menus.


    Since this forum is for general questions and feedback related to Outlook, and your question is more related to Outlook development, I'd recommend you post a new question in Outlook for Developers forum for further assistance:


    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Steve Fan
    TechNet Community Support

    It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Steve Fan Wednesday, July 8, 2015 7:47 AM
    • Marked as answer by Steve Fan Thursday, July 9, 2015 1:22 AM
    Tuesday, July 7, 2015 7:14 AM