We are creating Excel 2007 AddIn using VSTO. Now we have a script in which there are 2 buttons. Button "A" and button "B". The B'needs button should be hidden based on a click on the A button.
But since the ribbon bar is not updated dynamically, we cannot see the changes in the ribbon panel.
I heard from some blocks, we should use callback methods for the same.
Could you explain and put a piece of code on how to do this?
Would be very grateful if anyone could help as soon as possible ...
source
share