0

The search function is used in EXCEL to search for the specified menu command. like this [1]: https://i.stack.imgur.com/rJTOX.png

If the button developed by VSTO needs to implement an interface, it can be searched. This interface forgets which I am.

MSDN can't find it, let me know if you know, thank you

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
yu hu
  • 1

1 Answers1

0

Unfortunately not all features of the ribbon are available for developers. The Fluent UI (aka Ribbon UI) doesn't provide anything for that. You can find the definitive list of controls and customizations described in the following series of articles in MSDN:

Nothing has been changed since Office 2007.

You may try using the Accessibility API to automate tasks related to the user interface in Office applications.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45