Hi,

I have a VSTO Excel application and I have created a custom ribbon.
This is applied as below.

Code:
  public partial class ThisWorkbook
    {
             protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()
        {
            return new ReportsRibbon();
        }
        private void ThisWorkbook_Startup(object sender, System.EventArgs e)
        {

            try
            {
However from my workbook I want to be able to set one of the buttons as enabled or disabled. How do I access these properties?