Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add tooltip to Excel Add-in Custom Ribbon UI XML

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" />
like image 508
waternova Avatar asked Oct 31 '14 18:10

waternova


1 Answers

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.

like image 166
Nikolay Avatar answered Sep 19 '22 09:09

Nikolay