Forum Discussion
Kelvin_George
Feb 27, 2023Copper Contributor
office addin -Excel
hello everyone! Is there a way to dynamically change the icon and label text in addin commands in custom tabs in a Ribbon? I've created an Excel command button (with manifest.xml) and want to change...
Kelvin_George
Feb 28, 2023Copper Contributor
unfortunately there is no such option to hide/unhide , only enable/disable option is there. actually iam looking for to create a login/ logout buttons
JKPieterse
Mar 01, 2023Silver Contributor
Well, I wonder because if I read this, it seems you can pass a ribbon specification as a JSON string:
https://learn.microsoft.com/en-us/javascript/api/office/office.ribbon?source=recommendations&view=common-js-preview#office-office-ribbon-requestcreatecontrols-member(1)
https://learn.microsoft.com/en-us/javascript/api/office/office.ribbon?source=recommendations&view=common-js-preview#office-office-ribbon-requestcreatecontrols-member(1)