none
Relation Selection.Type and CommandBar.Name RRS feed

  • Question

  • Hi,

    How to relation Selection.Type and CommandBar.Name? How to determine CommandBar.Name for specific Selection.Type?

    Saturday, February 4, 2012 9:30 PM

Answers

  • Hi Igor

    There's no direct way to do this, and never has been.

    You basically have to do a loop of all context menus, then guess what kind of selection the names - together with the collection of controls for the pop-up - mean. Then test your guess by creating that condition in a document and right-clicking, comparing what you see with the list of controls.


    Cindy Meister, VSTO/Word MVP
    Sunday, February 5, 2012 8:34 AM
    Moderator