Add tooltip to Excel Add-in Custom Ribbon UI XML

waternova picture waternova · Oct 31, 2014 · Viewed 8.9k times · Source

I am creating an Excel Add-In that has a custom Ribbon UI. I would like to add a tooltip for my buttons. What XML attributes can I use to set this?

<button id="insertStuff" label="Insert Stuff" size="large" onAction="InsertStuff_EventHandler" imageMso="AddAccount" />

Answer

Nikolay picture Nikolay · Oct 31, 2014

You can use "screentip" and "supertip":

<button id="insertStuff" screentip="Tooltip title" supertip="Long description" ...

BTW, you should have autocomplete normally when you edit the ribbon XML in VS. If you don't make sure you have Ribbon schema file available.