Enable or disable my button dynamically

E

Emily

Hi I am writing an addin that uses custom Ribbon.
There is a button which I want to enable only when there are 2 word docs
opened.
Does anyone know how to implement this?

This article seems to be a soltuion (by loading several customUI.xml) but I
was not able to figure out how to load and invalidate Ribbons....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top