Quote:
Originally Posted by Guessed
Perhaps the solution is to create a Class Module and use the WindowActivate event to refresh the ribbon as you change active documents.
See Writing application event procedures for working with Class Modules.
|
Almost correct. It is actually the
DocumentChange event that needs to be handled.
If you have a custom ribbon tab that includes toggle buttons, uses GetEnabled or GetVisible callbacks, or supplies document specific functionality then handling the DocumentChange event is imperative.