I'm writing an Excel AddIn. It uses a Ribbon where some Controls are enabled/disabled depending on the properties of the Workbook.
To do it I guess I should update the state of the Ribbon controls whenever the active Workbook changes.
Chip Pearson's site explains how to do it in VBA and here is explained how to get the active Excel Workbook, however I'm not able to trigger this event in my C# AddIn.